Repository navigation
squid: RGW: prevent shutdown hang by reconciling race between async processor and multisite sync threads - #67439
Conversation
525308b to
5e4cff5
Compare
|
To address "make check" (tox/qa) failure added the change to absolutely |
|
jenkins test docs |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@BBoozmen pls rebase |
|
New commits were pushed to this PR, so the previous |
|
@adamemerson - after rebase - this, too, needs another "audit override". |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
jenkins test windows |
|
This PR has been added to squid integration testing by anuchaithra started 2026-07-29-08:44. |
shaman build creation is failing @BBoozmen could you please check : https://jenkins.ceph.com/job/ceph-dev-pipeline/7723/consoleFull |
@anrao19 please see the comment in the other PR included in this QA run. I believe that one is the source of the build failure. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Backport Parity Review
Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.
Commit Parity Visualizer
| BACKPORT PR #67439 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 15634bc RGW: add RGWRadosThread::set_down_flag() helper | PR #66369 | 49627a2 RGW: add RGWRadosThread::set_down_flag() helper |
| 25781bf RGW: set down_flag early on sync processor threads during shutdown | 5301549 RGW: set down_flag early on sync processor threads during shutdown | |
| 77ff594 RGW: prevent RGWAsyncRadosProcessor from queuing requests during shutdown | e777558 RGW: prevent RGWAsyncRadosProcessor from queuing requests during shutdown | |
| dd2e3a1 RGW/datalog: do not try to add entry if changeslog is shutting down | 97501cb RGW/datalog: do not try to add entry if changeslog is shutting down | |
| <<<< MISSING IN BACKPORT >>>> | 8ab91a4 RGW/test_multi: add a helper function to get data sync oldest incremental change | |
| <<<< MISSING IN BACKPORT >>>> | 002463f RGW/test_multi: add a helper function to check whether data-sync is making progress | |
| 2af9300 RGW/test_multi: testcase for rgw instance hang/crash during realm reload | 5e6a9c8 RGW/test_multi: testcase for rgw instance hang/crash during realm reload |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport dd2e3a1 (cherry-pick of 97501cb)
Affected File(s)
src/rgw/driver/rados/rgw_datalog.cc
Range Diff
Click to expand
--- Original (97501cb4)
+++ Backport (dd2e3a19)
@@ -7,3 +7,8 @@
Fixes: https://tracker.ceph.com/issues/66100
Signed-off-by: Oguzhan Ozmen <[email protected]>
+(cherry picked from commit 97501cb49f245656654dd62c4f09bc0b03a55c1c)
+
+Conflicts:
+ src/rgw/driver/rados/rgw_datalog.cc
+- in squid, RGWDataChangesLog::add_entry doesn't use coroutines
================================================================================
RANGE DIFF
================================================================================
1: 97501cb49f2 < -: ----------- RGW/datalog: do not try to add entry if changeslog is shutting down
-: ----------- > 1: dd2e3a19b6e RGW/datalog: do not try to add entry if changeslog is shutting downDeviation in Backport 2af9300 (cherry-pick of 5e6a9c8)
Affected File(s)
src/test/rgw/rgw_multi/tests.py
Range Diff
Click to expand
--- Original (5e6a9c8f)
+++ Backport (2af93006)
@@ -2,3 +2,9 @@
Tests: https://tracker.ceph.com/issues/66100
Signed-off-by: Oguzhan Ozmen <[email protected]>
+(cherry picked from commit 5e6a9c8f9de457406c3ef5f44bf2069c60bc6cd5)
+
+Conflicts:
+ src/test/rgw/rgw_multi/tests.py
+- in squid, lots of testcases such as test_object_lock_sync,
+ test_bucket_replication* are missing.
================================================================================
RANGE DIFF
================================================================================
1: 5e6a9c8f9de ! 1: 2af93006235 RGW/test_multi: testcase for rgw instance hang/crash during realm reload
@@ Commit message
Tests: https://tracker.ceph.com/issues/66100
Signed-off-by: Oguzhan Ozmen <[email protected]>
+ (cherry picked from commit 5e6a9c8f9de457406c3ef5f44bf2069c60bc6cd5)
+
+ Conflicts:
+ src/test/rgw/rgw_multi/tests.py
+ - in squid, lots of testcases such as test_object_lock_sync,
+ test_bucket_replication* are missing.
## src/test/rgw/rgw_multi/tests.py ##
-@@ src/test/rgw/rgw_multi/tests.py: def test_object_lock_sync():
- assert(response['ObjectLockConfiguration'] == lock_config)
+@@ src/test/rgw/rgw_multi/tests.py: import errno
+ import dateutil.parser
+ import re
+ import datetime
++import threading
+ from itertools import combinations
+ from itertools import zip_longest
+@@ src/test/rgw/rgw_multi/tests.py: def test_bucket_create_location_constraint():
+ except ClientError as e:
+ assert e.response['ResponseMetadata']['HTTPStatusCode'] == 400
--
+def test_period_update_commit():
+ wkld_concurrency = 25
+ num_objects_to_upload = 2500
@@ src/test/rgw/rgw_multi/tests.py: def test_object_lock_sync():
+ log.info(f"delete bucket={bucket.name}")
+ primary_zone_client_conn.s3_client.delete_bucket(Bucket=bucket.name)
+
+ def test_bucket_full_sync_when_the_bucket_is_deleted_in_the_meantime():
+ num_objects_to_upload = (
+ 3000 # must be more than 1000 to have pagination at full syncHow to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
@BBoozmen Closed and reopened to clear tests that have hung for weeks, but it looks like there's an actual problem in the QA Links? |
|
backport tracker: https://tracker.ceph.com/issues/74738
backport of #66369
parent tracker: https://tracker.ceph.com/issues/66100
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