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:
1 parent
8fb9745dfc
commit
ca8eadc161
2 files changed
+2
-2
No files matched your search
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ var (
|
||||
"rank": 0,
|
||||
"name": "myfs-b",
|
||||
"status": "up:active",
|
||||
"gid": 14716
|
||||
"gid": 13999249051405999408
|
||||
}
|
||||
],
|
||||
"up:standby": 1
|
||||
|
||||
Reference in new issue
Block a user