]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: remove osd_epochs if osd is marked in or out 38041/head
authorKefu Chai <kchai@redhat.com>
Thu, 12 Nov 2020 13:49:06 +0000 (21:49 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Nov 2020 13:50:38 +0000 (21:50 +0800)
commitf994925908c720f8e0b3fda2f1fc51ef6e757de3
tree67bd96abc58eff3f804daf39a46941ddfc42a6ec
parent9929588ce33aa9d87a515b416a78fd6674a34a04
mon/OSDMonitor: remove osd_epochs if osd is marked in or out

this is a cleanup. if we don't take the osd_epochs of osd marked out,
there is no need to keep those osd_epochs around anymore. so, in this
change, once the osd is marked in or out, we just drop its osd_epochs
right away.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc