Add convergence visibility - #211
Open
LZD-PratyushBhatt wants to merge 1 commit into
Open
Conversation
Compute bounded convergence reports asynchronously and expose typed cluster and resource REST views without adding controller-path or metadata-store pressure. Co-authored-by: Cursor <cursoragent@cursor.com>
LZD-PratyushBhatt
requested review from
PranaviAncha,
arkmish,
kabragaurav,
laxman-ch,
ngngwr,
sjainit and
thestreak101
as code owners
July 15, 2026 13:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compute bounded convergence reports asynchronously and expose typed cluster and resource REST
views without adding controller-path or metadata-store pressure.
Issues
Description
converged.
The controller compares CurrentState with BestPossibleState and uses pending, selected, throttled,
successfully dispatched, and failed transition messages to classify each partition as:
CONVERGEDIN_PROGRESSBLOCKEDUNKNOWNPAUSEDThe resulting typed
ConvergenceStatusrecords include bounded partition diagnostics, aggregatecounts, actionable reasons, WAGED target freshness, optimizer health, report age, and controller
session metadata.
Reports are persisted under:
The following REST endpoints expose the reports:
Performance and safety properties:
CONVERGENCE_MONITORING_ENABLED.There are no UI changes.
Tests
The following unit and integration tests cover this change:
TestConvergenceStatusCalculatorTestConvergenceStatusPersistStageTestWagedRebalanceStatusTestConvergenceStatusResponseMapperTestConvergenceStatusAccessorTestPropertyPathBuilderTestPropertyKeyGetPathCore focused test result:
REST end-to-end test result:
Repository build result:
Live validation was also performed against a standalone ZooKeeper server with real controller,
participant, and REST processes. The scenarios covered:
IN_PROGRESSChanges that Break Backward Compatibility (Optional)
All changes are additive. Convergence monitoring is disabled by default, existing clusters do not
perform convergence calculation or persistence unless explicitly enabled, and existing REST APIs
are unchanged.
Documentation (Optional)
The REST contract and configuration behavior are documented by the model, endpoint implementation,
and test coverage in this PR.
Commits
No issue reference is included because this PR is not linked to an Apache Helix issue.
Code Quality
git diff --checkpasses.