Skip to content

quincy: mgr: relax "pending_service_map.epoch > service_map.epoch" assert#46738

Merged
yuriw merged 1 commit intoceph:quincyfrom
trociny:wip-56096-quincy
Jul 20, 2022
Merged

quincy: mgr: relax "pending_service_map.epoch > service_map.epoch" assert#46738
yuriw merged 1 commit intoceph:quincyfrom
trociny:wip-56096-quincy

Conversation

@trociny
Copy link
Contributor

@trociny trociny commented Jun 17, 2022

backport tracker: https://tracker.ceph.com/issues/56096


backport of #45984
parent tracker: https://tracker.ceph.com/issues/51835

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

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 cc2721c)
@trociny trociny requested a review from a team as a code owner June 17, 2022 18:32
@trociny trociny added this to the quincy milestone Jun 17, 2022
@trociny trociny added the core label Jun 17, 2022
@github-actions github-actions bot added the mgr label Jun 17, 2022
@yuriw
Copy link
Contributor

yuriw commented Jul 20, 2022

jenkins test api

@yuriw yuriw merged commit 2afa4c4 into ceph:quincy Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants