Skip to content

Measure remote world disk usage on the shared-storage mount - #302

Merged
athNdev merged 9 commits into
mainfrom
feat/remote-disk-usage
Nov 4, 2026
Merged

athNdev merged 9 commits into
mainfrom
feat/remote-disk-usage

Conversation

@athNdev

@athNdev athNdev commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Disk usage for a remote server is measured on the controller's mount of that node's shared storage.
  • A remote node without reachable storage is left unmeasured, so a controller-local directory is not reported as the world.

Test plan

  • go test ./internal/metrics/ -count=1 -p 1 -run TestCollectDiskUsage
  • Confirm a local server directory is still measured.
  • Confirm an unreachable remote node records no disk metrics even when a same-named directory exists on the controller.
  • Confirm a shared-storage server is measured from the mount, not from the controller copy of its data path.

athNdev and others added 9 commits November 4, 2026 11:31
…skip a node whose storage cannot be reached.

Co-authored-by: Cursor <[email protected]>
…n a controller copy of the data path.

Co-authored-by: Cursor <[email protected]>
… controller copy of the data path.

Co-authored-by: Cursor <[email protected]>
…data directory is not mistaken for that world.

Co-authored-by: Cursor <[email protected]>
… world is not treated as the server.

Co-authored-by: Cursor <[email protected]>
…troller copy of the world is not rolled back.

Co-authored-by: Cursor <[email protected]>
…one is not written onto the controller.

Co-authored-by: Cursor <[email protected]>
@athNdev
athNdev force-pushed the feat/remote-disk-usage branch from c394804 to a1382cd Compare November 4, 2026 00:33
@athNdev
athNdev merged commit 063e230 into main Nov 4, 2026
11 checks passed
@athNdev
athNdev deleted the feat/remote-disk-usage branch November 4, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant