Repository navigation
"rgw/lc: Revert if the buckets last lc processing time is less than start time of current LC session - #71453
"rgw/lc: Revert if the buckets last lc processing time is less than start time of current LC session#71453kchheda3 wants to merge 1 commit into
Conversation
…tart time of current LC session, then continue processing bucket for lC even if the status is not in initalized state." This reverts commit 541d13a. Signed-off-by: Krunal Chheda <[email protected]>
|
thanks @kchheda3. this commit got to umbrella, and you've tagged this tracker for umbrella backport. do you think this regression is significant enough to block the umbrella release? |
not significant in terms of functionality. we had this issue on our production cluster, we did not see any functional issue as such, just that multiple workers were processing a single bucket. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
This reverts commit 541d13a.
Fixes: https://tracker.ceph.com/issues/80293
The original PR contained two commits intended to address an issue where a stale LC instance could block the next lifecycle run for up to 48 hours.
The first commit increased the retry window when updating the LC status, reducing the likelihood of leaving behind stale sessions.
The second commit, which is being reverted here, added logic to detect stale sessions based on lc_start_time. However, lc_start_time is local to each worker and is not shared across RGW instances. When multiple RGW instances process the same LC shard, each worker therefore has its own lc_start_time and may incorrectly determine that a bucket being processed by another worker is stale, causing it to take over and process the same bucket concurrently.
Revert the second commit completely and retain the behavior from the first commit.
With this revert, the remaining worst-case scenario is that if a bucket is left with a stale processing status, it may be skipped for up to 48 hours before being retried.
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.