From 744b09b10af513d39123e676acabc51ff2f30472 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 16 Aug 2019 19:09:24 +0800 Subject: [PATCH] ceph-objectstore-tool: return 0 if incmap is sane this change addresses the regression introduced by 2e2414b3 Fixes: https://tracker.ceph.com/issues/41177 Signed-off-by: Kefu Chai (cherry picked from commit d03f397544187d7de21d4849f58ce51baafcff8b) --- src/tools/rebuild_mondb.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/rebuild_mondb.cc b/src/tools/rebuild_mondb.cc index a02edc9871261..b006f7aa16ff6 100644 --- a/src/tools/rebuild_mondb.cc +++ b/src/tools/rebuild_mondb.cc @@ -277,6 +277,7 @@ int update_osdmap(ObjectStore& fs, OSDSuperblock& sb, MonitorDBStore& ms) // inc.decode() verifies `inc_crc`, so it's been taken care of. } } + return 0; }(); switch (add_inc_result) { case -ENOENT: -- 2.39.5