]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: fix incorrect op between osd state and weight 44303/head
authorTongliang Deng <dengtongliang@gmail.com>
Tue, 14 Dec 2021 02:32:31 +0000 (10:32 +0800)
committerTongliang Deng <dengtongliang@gmail.com>
Wed, 15 Dec 2021 02:19:08 +0000 (10:19 +0800)
commita3a1ba72d007090d078c3900ddef6f4cf8eff5f8
tree108dea2837e556f5415a35b057fb8f9bcf5916f5
parent82a77ef05824c92bf678cd7fb1b6307e510be804
mon/OSDMonitor: fix incorrect op between osd state and weight

The cleanup in f994925908c720f8e0b3fda2f1fc51ef6e757de3 removes
osd_epochs if osd is marked out, but out status is not stored in
new_state, it is in new_weight. The osd_epochs of osd marked out
are handled properly in 0ecef75210113ffba1b89c061cd470ee321d7a45.
Thus we delete it.

Signed-off-by: Tongliang Deng <dengtongliang@gmail.com>
src/mon/OSDMonitor.cc