]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: relax "pending_service_map.epoch > service_map.epoch" assert 46688/head
authorMykola Golub <mgolub@suse.com>
Thu, 21 Apr 2022 08:57:25 +0000 (11:57 +0300)
committerMykola Golub <mgolub@suse.com>
Wed, 15 Jun 2022 09:04:52 +0000 (12:04 +0300)
commit52609db711934dddd6f5357dcc8a662721c543fb
treeb9bf4f5668b6825cf45d283fd66b20b3424cc50c
parentc673a842165dd7b9cff75b35e47e67cfd5ce8879
mgr: relax "pending_service_map.epoch > service_map.epoch" assert

When we are activating we may receive several service map updates
initiated by the previous active mgr. Treat them all as initial map.

The code also adds "pending_service_map_dirty == 0" assert, which we
expect is true when receiving an initial map -- otherwise we can't
just initialize pending_service_map with received map.

Fixes: https://tracker.ceph.com/issues/51835
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit cc2721ccdb33248a732abd1919df808ef8a1f80f)
src/mgr/DaemonServer.cc