Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
137554: changefeedccl: move resolved span frontiers into separate package r=asg0451 a=andyyang890 This patch renames `schemaChangeFrontier` to `resolvedSpanFrontier` to reflect that not all resolved span boundaries correspond to schema changes (e.g. initial-scan-only, end time reached). Its private fields are also now properly encapsulated and new derived struct types for each processor type have been created to handle the processor-specific boundary handling logic. The field and method used for tracking whether a changefeed is considered idle has been extracted from the frontier struct because it is not related to span progress or boundaries. Finally, the frontier data structures have been moved to a separate `resolvedspan` package to provide better abstraction of its internal implementation. Epic: None Release note: None Co-authored-by: Andy Yang <[email protected]>
- Loading branch information