Repository navigation
[DNM] tentacle: Revert: "msg/async/ProtocolV2: Speed up connection logic when peer restarts & Added Netsplit Grace Period"- #71778 - #71780
Conversation
Config Diff Tool Output- removed: mon_netsplit_grace_period (mon.yaml.in)
! changed: nvmeof_mon_client_connect_panic: old: None (mon.yaml.in)
! changed: nvmeof_mon_client_connect_panic: new: ['mon'] (mon.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Missing Original PR(s): Could not identify any
mainPRs associated with this backport. Ensure the backport commits properly reference the original PRs. - Orphaned Backport PR: Could not find any Redmine tracker linked directly to this backport PR #71780.
Automated Backport Parity Review - Invalid Commit Format
The following commits have an invalid format. Backport commits must either include a standard (cherry picked from commit ...) line or start with the target branch name (e.g., tentacle:).
ff5665efRevert "doc/health-checks: update MON_NETSPLIT documentation"b3076bd9Revert "qa/suites/rados: white list + add MON_NETSPLIT tests"521857c4Revert "msg/async: ProtocolV2::send_server_ident update ProtocolV2::global_seq"910084ccRevert "src/mon/Elector.cc: Improve logging for the elector"c6b3b5ceRevert "src/mon/ConnectionTracker.cc: && HealthMonitor.cc Improve logging"00bc2f08Revert "src/mon/HealthMonitor: Add mon_netsplit_grace_period to suppress transient MON_NETSPLIT warnings"cb6d4370Revert "src/msg/async: Improve logging and prefixes for global_seq"d00bcaedRevert "qa/suites/rados: increase debug && msgr-failures/none && white list"fd1b7f93Revert "qa/tasks/mon_thrash: enhanced logging in thrash"30c76b2dRevert "ProtocolV2.cc: Add more loggings to functions that needs them"62856c55Revert "msg/async/ProtocolV2: Speed up connection logic when peer restarts"
Be familiar with the rules and guidelines for writing backports.
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 #71780 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| ff5665e Revert "doc/health-checks: update MON_NETSPLIT documentation" | <<<< EXTRA IN BACKPORT >>>> | |
| b3076bd Revert "qa/suites/rados: white list + add MON_NETSPLIT tests" | <<<< EXTRA IN BACKPORT >>>> | |
| 521857c Revert "msg/async: ProtocolV2::send_server_ident update ProtocolV2::global_seq" | <<<< EXTRA IN BACKPORT >>>> | |
| 910084c Revert "src/mon/Elector.cc: Improve logging for the elector" | <<<< EXTRA IN BACKPORT >>>> | |
| c6b3b5c Revert "src/mon/ConnectionTracker.cc: && HealthMonitor.cc Improve logging" | <<<< EXTRA IN BACKPORT >>>> | |
| 00bc2f0 Revert "src/mon/HealthMonitor: Add mon_netsplit_grace_period to suppress transient MON_NETSPLIT warnings" | <<<< EXTRA IN BACKPORT >>>> | |
| cb6d437 Revert "src/msg/async: Improve logging and prefixes for global_seq" | <<<< EXTRA IN BACKPORT >>>> | |
| d00bcae Revert "qa/suites/rados: increase debug && msgr-failures/none && white list" | <<<< EXTRA IN BACKPORT >>>> | |
| fd1b7f9 Revert "qa/tasks/mon_thrash: enhanced logging in thrash" | <<<< EXTRA IN BACKPORT >>>> | |
| 30c76b2 Revert "ProtocolV2.cc: Add more loggings to functions that needs them" | <<<< EXTRA IN BACKPORT >>>> | |
| 62856c5 Revert "msg/async/ProtocolV2: Speed up connection logic when peer restarts" | <<<< EXTRA IN BACKPORT >>>> |
🛟 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.
This reverts commit 3f2189e. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
This reverts commit f4593bf. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
…lobal_seq" This reverts commit de39ed1. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]> Conflicts: src/msg/async/ProtocolV2.cc - Accepts: auto& oq = out_queue[m->get_priority()]; oq.emplace_back(out_queue_entry_t{is_prepared, std::move(m)}); ldout(cct, 15) << __func__ << " inline write is denied, reschedule m=" << m << dendl;
This reverts commit 4e67c65. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
…ging" This reverts commit ca4466d. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
…ess transient MON_NETSPLIT warnings" This reverts commit caf7598. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]> Conflicts: src/mon/HealthMonitor.cc - Accept the // Check for location-level netsplits and remove individual-level netsplits
This reverts commit 4b0ae91. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
…e list" This reverts commit 0b0bc03. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
This reverts commit 5192ea8. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
This reverts commit 4ac4ecd. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
…tarts" This reverts commit a40d83d. Signed-off-by: Kamoltat (Junior) Sirivadhna <[email protected]>
62856c5 to
a351301
Compare
|
✅ Audit Override Applied by @batrick. |
rzarzynski
left a comment
There was a problem hiding this comment.
LGTM.
It's worth to note the revert is pretty wide – we lose many useful log entries we introduced altogether with the original change.
| m->trace.event("async enqueueing message"); | ||
| auto& oq = out_queue[m->get_priority()]; | ||
| oq.emplace_back(out_queue_entry_t{is_prepared, std::move(m)}); | ||
| ldout(cct, 15) << __func__ << " inline write is denied, reschedule m=" << m |
There was a problem hiding this comment.
There was conflict around this debug, I think.
| dout(30) << "Scheduling next ping_check for peer " | ||
| << peer << " in " << ping_timeout / PING_DIVISOR | ||
| << "s (recursively call ping_check until connection state changes)" << dendl; | ||
| dout(30) << "schedule " << __func__ << " against peer: "<< peer << dendl; |
There was a problem hiding this comment.
This commit (src/mon/Elector.cc: Improve logging for the elector) is harmless but fine with reverting it even to avoid further conflicts.
| *_dout << "}"; | ||
| *_dout << "}" << dendl; | ||
| } | ||
| *_dout << " }" << dendl; |
| __u32 get_global_seq(__u32 old=0); | ||
| __u32 get_global_seq(__u32 old=0) { | ||
| std::lock_guard<ceph::spinlock> lg(global_seq_lock); | ||
|
|
||
| if (old > global_seq) | ||
| global_seq = old; | ||
| __u32 ret = ++global_seq; | ||
|
|
||
| return ret; |
| state = SESSION_CONNECTING; | ||
| return send_client_ident(); | ||
| } else { // reconnecting to previous session | ||
| ldout(cct, 20) << __func__ << " reconnecting to session" << dendl; |
There was a problem hiding this comment.
Another harmless commit but fine with reverting it.
| if (exproto->peer_global_seq > peer_global_seq && | ||
| exproto->client_cookie && client_cookie && | ||
| exproto->client_cookie != client_cookie && | ||
| exproto->state != READY && exproto->state != STANDBY) { | ||
| ldout(cct, 1) << __func__ << " client has clearly restarted (ex_peer_global_seq=" | ||
| << exproto->peer_global_seq << " > peer_global_seq=" << peer_global_seq | ||
| << " && cookie changed: client_cookie=" << client_cookie << " != ex_client_cookie=" | ||
| << exproto->client_cookie << "), " | ||
| << "existing connection state is " << get_state_name(exproto->state) | ||
| << " (not READY or STANDBY), dropping existing_connection=" << existing | ||
| << " in favor of new_connection=" << connection << dendl; | ||
| existing->protocol->stop(); | ||
| existing->dispatch_queue->queue_reset(existing.get()); | ||
| l.unlock(); | ||
| return send_server_ident(); | ||
| } |
|
This PR has been added to wip-bharath20-testing-20260917.060858-tentacle. |
|
@SrinivasaBharath please note we no longer need to test this, will keep the PR open but I will remove the needs-qa tag |
|
This PR has been removed from wip-bharath20-testing-20260917.060858-tentacle. |
|
Closing, please refer to #71847 |
Revert all commits from PR: #64122
Signed-off-by: Kamoltat Sirivadhna [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.