Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
In response to a cherrypick label: @wk989898 once the present PR merges, I will cherry-pick it on top of |
|
In response to a cherrypick label: @wk989898 once the present PR merges, I will cherry-pick it on top of |
Recompute periodic heartbeat watermarks when the dispatcher generation changes during a scan so Working statuses cannot complete operators with a stale watermark. Advance merge generations without storing the target again. Serialize removal intent with final activation checks and avoid removing a target that is already being removed. Add default and redo regressions for full scans and both removal phases.
Report Stopped and clean removed Preparing or MergeReady dispatchers without including their provisional timestamps in node watermarks. Hold the lifecycle lock across rollback source checks and registration, and skip restoration after the write path is fenced. Add default and redo regressions for early terminal cleanup, concurrent source removal, and fencing during merge rollback.
Publish Initializing under writePathMu only after the write-path fence and final source and target checks pass. Bootstrap treats Initializing as the merge commit point, so pre-commit aborts must preserve MergeReady. Add default and redo regressions for missing or removing sources and a fenced write path at the final activation boundary.
|
/test all |
|
/test all |
|
|
Record checkpoint and resolved bounds when adding or activating dispatchers, and combine them with the periodic aggregate for constant-time status watermark publication. Fold existing bounds into the cache before a scan and merge concurrent additions before publishing it, avoiding generation retries. Keep provisional merge timestamps excluded and preserve activation/removal ordering. Retire conservative bounds through the next periodic refresh. Validate with four-package race/failpoint tests, 20 repeated classic runs, 10 repeated NextGen runs, a watermark lookup benchmark, formatting and build.
Allocate generations and assign dispatcher sequences inside DispatcherMap, before event delivery. Reject status batches that require an unallocated generation and report an internal invariant error. Serialize periodic scans through watermark publication and stopped-dispatcher cleanup. Test that final progress remains cached after removal and is released by the next scan without requiring another generation. Validate with four-package race/failpoint tests, 20 repeated classic runs, 10 repeated NextGen runs, the watermark benchmark, formatting and build.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asddongmen The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: close #7030
What is changed and how it works?
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Summary by CodeRabbit