]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: set purged_snapdirs OSDMap flag once snapsets have all converted
authorSage Weil <sage@redhat.com>
Tue, 29 Aug 2017 04:01:19 +0000 (00:01 -0400)
committerSage Weil <sage@redhat.com>
Wed, 30 Aug 2017 19:16:15 +0000 (15:16 -0400)
commitc3cbaad2a1a4df68fe39394e07c2f3ac9818b9c8
tree46a89cd83a49555a7b1bfda6a59bcfe7baa8ddb3
parent5b6c451e3fdaf0785b197fdfacf1c782b932bec9
mon: set purged_snapdirs OSDMap flag once snapsets have all converted

This makes it easier to test whether the upgrade + conversion has
completed.  In particular, mimic+ will be able to simply test for this
flag without waiting for complete PG stats to know whether it is safe to
upgrade beyond luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
src/include/rados.h
src/mon/MgrStatMonitor.h
src/mon/OSDMonitor.cc
src/mon/PGMap.h
src/osd/OSDMap.cc