Skip to contentSkip to conversation

ceph pg query - num_objects_missing_on_primary

DISCUSSION GuangYang 2 participants 2 messages Sep 23, 2015

lore
Share & tools
lore

GuangYang

author
#0 lore raw

Hello,
While doing a 'ceph pg {id} query', it dumps the info from all peers, however, for all peers, it only shows 'num_objects_missing_on_primary', which is the same across all peers.

Isn't it better to show the 'num_objecgts_missing' for the peer rather than primary?

Thanks,
Guang

#1 lore raw
Quoted 4 lines · GuangYang

Hello,
While doing a 'ceph pg {id} query', it dumps the info from all peers, however, for all peers, it only shows 'num_objects_missing_on_primary', which is the same across all peers.

Isn't it better to show the 'num_objecgts_missing' for the peer rather than primary?

Probably, yeah. I think this is just an artifact of being lazy when implementing query... we dumped whatever was convenient without considering it too carefully. Adding a section for missing would definitely be useful.

sage