mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Merge pull request #22066 from liewegas/wip-pgmap-digest-decode
mon/PGMap: fix PGMapDigest decode Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
6c9d937828
@ -78,6 +78,7 @@ void PGMapDigest::decode(bufferlist::const_iterator& p)
|
||||
} else {
|
||||
map<int32_t, int32_t> nps;
|
||||
decode(nps, p);
|
||||
num_pg_by_state.clear();
|
||||
for (auto i : nps) {
|
||||
num_pg_by_state[i.first] = i.second;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user