Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jul 20, 2022

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
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants