]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: mon_types.h: initialize LevelDBStoreStats and avoid craziness
authorJoao Eduardo Luis <joao@redhat.com>
Wed, 21 Jan 2015 17:45:02 +0000 (17:45 +0000)
committerJoao Eduardo Luis <jecluis@gmail.com>
Sun, 1 Mar 2015 10:11:24 +0000 (10:11 +0000)
commit6c2dea970392d5192f98b6d8ac7a273a4dfce65b
tree0bbf2d0755b60b95630019fde92b764d2e6b6916
parent6d0c464897d1b4d43aaa73a9150981fc3f0a6b74
mon: mon_types.h: initialize LevelDBStoreStats and avoid craziness

On a mixed-version cluster, say firefly and dumpling, the first round of
data health checks could end up with crazy values being reported for
data usage/availability for dumpling monitors.

This would be caused by dumpling not supporting reporting of store
stats, and by not assuming values as zero on decoding we would end up
decoding trash.

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
src/mon/mon_types.h