core: update cephstatus fsmap gid type to uint64

Ceph uses uint64 (unsigned long) type for CephFS GID. Rook was using
int, which was causing failures when the GID overflowed Rook's type.
Update Rook's type to match Ceph's.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 5b27189ac4)
This commit is contained in:
Blaine Gardner authored and Mergify committed 2025-04-10 18:58:12 +00:00
1 parent 8fb9745dfc
commit ca8eadc161
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ type Fsmap struct {
Rank int `json:"rank"`
Name string `json:"name"`
Status string `json:"status"`
Gid int `json:"gid"`
Gid uint64 `json:"gid"`
} `json:"by_rank"`
UpStandby int `json:"up:standby"`
}
+1 -1
View File
@@ -44,7 +44,7 @@ var (
"rank": 0,
"name": "myfs-b",
"status": "up:active",
"gid": 14716
"gid": 13999249051405999408
}
],
"up:standby": 1