]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: set cluster flags based on osd flags (luminous)
authorSage Weil <sage@redhat.com>
Thu, 23 Feb 2017 21:31:21 +0000 (16:31 -0500)
committerSage Weil <sage@redhat.com>
Mon, 6 Mar 2017 22:21:22 +0000 (17:21 -0500)
commit707e43d5ae4767dd5057ac967ce8b84d78d59467
treea63df8dfc0601682cbdb1cd524c4c508cdb41f7f
parent00a8bfa554a42d4526b00b3fd92aacd856076008
mon/OSDMonitor: set cluster flags based on osd flags (luminous)

For luminous, set cluster flags based on osd flags.  Until
require_luminous is set, stick with the old pgmap-based behavior.
Move the new check to encode_pending so that the cluster flag is
set in the same epoch that the osd state(s) change.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc