Repository navigation
Conversation
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
16 similar comments
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
|
Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run. |
cbodley
left a comment
There was a problem hiding this comment.
thanks @SaravananPalanisamyRWTH
|
@SaravananPalanisamyRWTH thank you. would you mind adding the multisite reproducer as a test in tests.py? some of the necessary methods for creating users, buckets etc. are already there. |
e57ec59 to
532676f
Compare
Thank you for the suggestion. The bug requires The unit test in To deterministically trigger the stale overwrite from an integration test, I think we would need a new keyword (Eg: |
532676f to
a1f38f4
Compare
ObjectCache::put() always overwrote the cache version without checking if a newer one was already stored. Guard the write: when both the existing and incoming entries carry CACHE_FLAG_OBJV with the same tag, skip the put, if the incoming version is lower Fixes: https://tracker.ceph.com/issues/77554 Signed-off-by: Saravanan Palanisamy <[email protected]>
Fixes: https://tracker.ceph.com/issues/77554 Signed-off-by: Saravanan Palanisamy <[email protected]>
e9da4c2 to
b6fa0f4
Compare
Inject a configurable sleep in distribute_cache() before the watch/notify is sent, to hold a cache notification in-flight and reproduce timing- sensitive races in integration tests. Reuses the shared rgw_inject_delay_sec / rgw_inject_delay_pattern fault-injection framework (pattern "delay_distribute_cache"). Do not use in production. Signed-off-by: Saravanan Palanisamy <[email protected]>
Tests: https://tracker.ceph.com/issues/77731 Signed-off-by: Saravanan Palanisamy <[email protected]>
b6fa0f4 to
a6d239e
Compare
|
This PR has been added to main integration testing by anuchaithra started 2026-07-17-06:18. |
pr testing completed and approved by @ivancich |
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test signed |
|
jenkins test submodules |
|
@SaravananPalanisamyRWTH / @smanjara / @cbodley -> this one might be causing a regression for our multisite tests: please see Bug #80389 qa/rgw/multisite - multiple testcase failures: ObjectCache::put() obj_version guard can leave the cache ahead of RADOS on secondary zones, stalling metadata sync for rgw_cache_expiry_interval for details. These 3 testcases failed in an un-related (not multisite related) testing of mine. |
Problem:
ObjectCache::put()always overwrites a cached entry without checking if a newer version is already stored. When two updates for the same key arrive nearly simultaneously, last write wins.The cache serves stales data for upto
rgw_cache_expiry_intervalFix:
Guard
ObjectCache::put(), if both the existing and incoming entries carry CACHE_FLAG_OBJV with the same tag, skip the write when the incoming ver is lower than the cached ver. Different tags (object recreated) and missing CACHE_FLAG_OBJV bypass the guard.Fixes: https://tracker.ceph.com/issues/77554
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.