]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: auto clean up stale upmap items
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 21 Nov 2018 06:25:45 +0000 (14:25 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 6 Dec 2018 02:37:53 +0000 (10:37 +0800)
commit4669ca6919ccdb44921a968a006905a6a0eb6804
tree52b5d0a20928058614135343361adf8a4a928f03
parent03f097d46c2357fe032cba04bc3a9504240466d0
mon: auto clean up stale upmap items

See https://www.spinics.net/lists/ceph-users/msg49518.html

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 4181aa86906886423af80e478e45554606fc7cf6)

Conflicts:
        - *nextmap* has been renamed to *tmpmap*
        - add the *have_pg_upmaps* wrapper which is necessary for unittest
src/osd/OSDMap.cc
src/osd/OSDMap.h
src/test/osd/TestOSDMap.cc