Repository navigation
crimson/osd: always ask for the newest osdmap - #65726
Conversation
| * Only subscribe to the next map until implemented. | ||
| * See https://tracker.ceph.com/issues/66832 | ||
| */ | ||
| co_await get_shard_services().osdmap_subscribe(osdmap->get_epoch() + 1, false); |
There was a problem hiding this comment.
This should work, I've sanitized the logs below:
INFO 2025-09-18 14:39:29,149 [shard 0:main] osd - OSD::_preboot: osd.1
DEBUG 2025-09-18 14:39:29,201 [shard 0:main] osd - OSD::_handle_osd_map: submitting transaction
INFO 2025-09-18 14:42:08,839 [shard 0:main] osd - OSD::_preboot: osd.1
INFO 2025-09-18 14:42:08,841 [shard 0:main] osd - OSD::committed_osd_maps: osd.1: now booting
DEBUG 2025-09-18 14:42:09,204 [shard 0:main] osd - OSD::_handle_osd_map: submitting transaction
INFO 2025-09-18 14:42:10,287 [shard 0:main] osd - OSD::committed_osd_maps: osd.1: now booting
DEBUG 2025-09-18 14:42:12,078 [shard 0:main] osd - OSD::_handle_osd_map: submitting transaction
INFO 2025-09-18 14:42:15,967 [shard 0:main] osd - OSD::committed_osd_maps: osd.1: now booting
DEBUG 2025-09-18 14:42:16,012 [shard 0:main] osd - OSD::_handle_osd_map: submitting transaction
INFO 2025-09-18 14:42:17,452 [shard 0:main] osd - OSD::committed_osd_maps: osd.1: now booting
We already have this subscription in OSD::_preboot, I'm still trying to understand why wasn't this enough?
if (osdmap->get_epoch() + 1 >= oldest) {
return get_shard_services().osdmap_subscribe(osdmap->get_epoch() + 1, false);
} else {
return get_shard_services().osdmap_subscribe(oldest - 1, true);
}
Ah, we miss start_waiting_for_healthy() that would essentially be responsible for this. I'll prioritize the tracker, let's merge as is for now.
|
|
@xxhdx1985126, do you think https://tracker.ceph.com/issues/73343 could be related? |
Um, matan, I'm sorry, it looks to me that the issue is not relevant with this PR. But I wonder why you asked, since I may be missing something. |
Only because the first occurrence of this issue popped when testing the PR, WDYT? |
|
|
I might be missing something but the review above seems inaccurate: Where the issues are: Merging based on the above |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
Fixes: https://tracker.ceph.com/issues/73317
Signed-off-by: Xuehan Xu [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.