Skip to content

Dispatcher replay can reprocess obsolete events after reset or DDL progress #5421

Description

@asddongmen

Bug Report

A dispatcher can replay events after reset, path release, or DDL/syncpoint progress. The replay should be safe: completed DDL/syncpoint block events and older DML should be skipped, and event-service scans should advance when a table has already been deleted.

Currently, commit-ts based deduplication can keep old epoch state, completed block events can be reported or processed again, and deleted-table raw KV events can resolve to the previous scan start, causing no progress.

This was found while splitting the runtime fix out of #5417 and is related to #5040.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions