]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: ensure lec only accounts for up osds 34924/head
authorJoao Eduardo Luis <joao@suse.de>
Tue, 21 Nov 2017 10:18:24 +0000 (10:18 +0000)
committerNathan Cutler <ncutler@suse.com>
Wed, 6 May 2020 12:29:22 +0000 (14:29 +0200)
commiteb3a92ac16f56faf48954ea3e4387bfdc47c7f49
tree9732fa912e0267fa1beddd754ea885462889acd7
parent8c4cd45d0a5bd8c885095e70b38454130fe363ac
mon/OSDMonitor: ensure lec only accounts for up osds

If we also consider down osds, we may very well be in a healthy state
but keeping maps as far back as the last epoch when a given osd went
down. If said osd stays down for eons, we will be keeping bajillions of
maps that we shouldn't.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
(cherry picked from commit e62269c8929e414284ad0773c4a3c82e43735e4e)
src/mon/OSDMonitor.cc