Repository navigation
tentacle: common: fix the ms_async_op_threads not applied successfully for daemons running in foreground mode - #66896
Conversation
|
Can one of the admins verify this patch? |
14 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
This PR has been added to wip-yuri13-testing-20260729.211123-tentacle. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
1256e23 to
6bc547e
Compare
6bc547e to
be237b8
Compare
|
/audit retest |
|
🔄 Audit Retest Triggered by @taodd. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #66896 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| be237b8 common: drop stack singleton object of temp messenger for foreground ceph daemons | PR #63390 | 30d66ff common: drop stack singleton object of temp messenger for foreground ceph daemons |
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 be237b8 (cherry-pick of 30d66ff)
Affected File(s)
src/common/ceph_context.cc
Range Diff
Click to expand
--- Original (30d66ff0)
+++ Backport (be237b82)
@@ -12,3 +12,12 @@
Fixes: https://tracker.ceph.com/issues/71401
Signed-off-by: dongdong tao <[email protected]>
+(cherry picked from commit 30d66ff075ca72c0c3759bfccee09302b221b25f)
+
+Conflicts:
+ src/common/ceph_context.cc
+ Trivial context conflict: tentacle removed the adjacent
+ CephContext::get_crypto_handler() (replaced by CryptoManager in
+ commit 3078188a7bd), which the original hunk used as context.
+ Kept that removal; the added drop_temp_messenger_obj() is
+ unchanged and now placed after get_admin_socket().
================================================================================
RANGE DIFF
================================================================================
1: 30d66ff075c ! 1: be237b82b94 common: drop stack singleton object of temp messenger for foreground ceph daemons
@@ Commit message
Fixes: https://tracker.ceph.com/issues/71401
Signed-off-by: dongdong tao <[email protected]>
+ (cherry picked from commit 30d66ff075ca72c0c3759bfccee09302b221b25f)
+
+ Conflicts:
+ src/common/ceph_context.cc
+ Trivial context conflict: tentacle removed the adjacent
+ CephContext::get_crypto_handler() (replaced by CryptoManager in
+ commit 3078188a7bd), which the original hunk used as context.
+ Kept that removal; the added drop_temp_messenger_obj() is
+ unchanged and now placed after get_admin_socket().
## src/common/ceph_context.cc ##
-@@ src/common/ceph_context.cc: CryptoHandler *CephContext::get_crypto_handler(int type)
- }
+@@ src/common/ceph_context.cc: AdminSocket *CephContext::get_admin_socket()
+ return _admin_socket;
}
+void CephContext::drop_temp_messenger_obj()How 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.
be237b8 to
09dab1e
Compare
…ceph daemons During the initialization, OSD needs to create a temporary messenger to read config db from the ceph-mon. This temporary messenger will need to create async messenger threads according to the local/default value of "ms_async_op_threads" . If this option is not specified in ceph.conf, it will by default create 3 threads, then use these threads to read config db from ceph-mon. Those threads are associated to a stack singletion object. Now here is the difference between OSD running in foreground and background: a. In background mode, this singleton object will be dropped before forking the child process in function notify_pre_fork, then the new ms_async_op_threads fetched from mon config db will be used to create later messenger threads, this is what we want. b. In foreground mode, this singleton object will not be dropped and will be reused by all later messengers, thus the number of threads doesn't change. Fixes: https://tracker.ceph.com/issues/71401 Signed-off-by: dongdong tao <[email protected]> (cherry picked from commit 30d66ff) Conflicts: src/common/ceph_context.cc Trivial context conflict: tentacle removed the adjacent CephContext::get_crypto_handler() (replaced by CryptoManager in commit 3078188), which the original hunk used as context. Kept that removal; the added drop_temp_messenger_obj() is unchanged and now placed after get_admin_socket().
09dab1e to
fd2d093
Compare
|
jenkins test make check |
|
✅ Audit Override Applied by @batrick. |
backport tracker: https://tracker.ceph.com/issues/74351
backport of #63390
parent tracker: https://tracker.ceph.com/issues/71401
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