SOLR-9714: Let each node have its own stop port #5346
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 206 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.319
Real PR Conversation Timeline
1 comments
"Review active on #5346"
general
weight: 0.35
nick-boss-tech
🤖 AI-assisted, reviewed by Jan
bin/solr/bin\solr.cmdnow read the stop port of the node they are stopping from its-DSTOP.PORTcommand line argument, instead of using oneSTOP_PORTvalue for the whole invocation, sostop,stop -p PORTandstop --allwork when nodes on a host were started with different stop ports.SolrProcessManagerparses it and the existingstatuscommand hands it to the scripts through a hidden--stop-portoption, which answers from the process arguments alone and returns before any HTTP call, so a node that no longer serves requests can still be stopped. No new command and no reference guide page.STOP_PORTset still gets, and is stopped on, the derivedSOLR_PORT-1000port; the oldSTOP_PORT-or-derived value is also the fallback if the lookup finds nothing.STOP_KEYis unchanged.solr.cmdcaptures the option's output through a temp file rather than afor /fover the java command line, which loses the quoting around-classpath.test_start_solr.bats(two nodes with distinct explicit stop ports, stopped withstop -pandstop --all, no force-kill), plus a temporary CATS suite (#5323 harness) that passes with the fix and fails without it. Windows (cmd.exe, VM): the same CATS suite passes,eachNodeIsStoppedOnItsOwnExplicitStopPortin 39 s (graceful) against 77 s with a force-kill before the capture fix, andderivedStopPortStillStopsGracefullyin 37 s; the temp-file capture was also checked directly with a%TEMP%path containing a space.