Repository navigation
Do not use inactive replicas as make_distributed_plan workers - #130917
Conversation
Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Workflow [PR], commit [5f90461] Summary: ✅
AI ReviewSummaryThe PR excludes inactive replicas from Missing context / blind spots
Final VerdictStatus: ✅ Approve |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes6 object files changed (+23.38 KiB total), 0 added.
711 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units54 translation units recompiled, 727 s compile time in total, 54 of them have a recent master baseline. |
Co-Authored-By: Claude Fable 5.2 <[email protected]>
serxa
left a comment
There was a problem hiding this comment.
I think factory rework is not justified here. Replica liveness is better to be part of some runtime state checked during allocate() calls, rather than configuration. Then signature-related stuff may stay as it is now.
|
Agreed on the factory: I will remove that change, and the signature will be configuration only again. One constraint on |
…k refreshes Co-Authored-By: Claude Fable 5.2 <[email protected]>
…vider Co-Authored-By: Claude Fable 5.2 <[email protected]>
…f the scheduling Co-Authored-By: Claude Fable 5.2 <[email protected]>
…luster Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ip-inactive-workers Co-Authored-By: Claude Fable 5.2 <[email protected]>
serxa
left a comment
There was a problem hiding this comment.
Sorry, I lost the notification. The code looks good!
A
make_distributed_planquery that takes its workers from a cluster used every registered replica, also a replica that is stopped. A task sent to such a replica fails the whole query, e.g. withConnection refused, and each new query fails in the same way while the replica stays registered.Now the worker list does not include the replicas that the cluster reports as inactive. It is the same
is_activedata thatsystem.clustersshows and that parallel replicas use, so it applies to the clusters that have it, e.g. the cluster of aReplicateddatabase.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix
make_distributed_planqueries that failed when a replica of the worker cluster was stopped but still registered in the cluster. Such a replica no longer gets tasks.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/130917]
Version info
26.11.1.2723-master(included in26.11and later)