Skip to content

crimson/osd: add get_latest_osdmap admin command - #73077

Open
ronen-fr wants to merge 2 commits into
ceph:mainfrom
ronen-fr:wip-rf-asok25
Open

ronen-fr wants to merge 2 commits into
ceph:mainfrom
ronen-fr:wip-rf-asok25

Conversation

@ronen-fr

Copy link
Copy Markdown
Contributor

Fetch the newest osdmap epoch from the mon, and wait until the OSD
and all its PGs have advanced to it. Unlike Classic, the wait is capped
at 60s, as nothing would interrupt it on OSD shutdown. The command
reports the epoch it waited for.

Add OSDMapGate::wait_for_map_untracked(), for waiters that are not
operations.

Fetch the newest osdmap epoch from the mon, and wait until the OSD
and all its PGs have advanced to it. Unlike Classic, the wait is capped
at 60s, as nothing would interrupt it on OSD shutdown. The command
reports the epoch it waited for.

Add OSDMapGate::wait_for_map_untracked(), for waiters that are not
operations.

Assisted-by: Claude
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Output {"epoch": N}, the osdmap epoch waited for, as the Crimson
implementation does.

Assisted-by: Claude
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
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.

1 participant