Skip to content

cluster-replication: add clock skew detection guards #82494

@dt

Description

@dt

We should detect if the destination cluster and source cluster are significantly skewed and warn or error, at least if we know the destination is behind enough that a reasonable cutover time might fall in the future, which could lead to some odd behaviors. We probably don't want to use the key timestamps since they can legitimately be in the future (e.g. global tables) so we'll probably want to just attach the current hlc to each streamed batch.

Jira issue: CRDB-16497

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tenant-streamingIncluding cluster streamingC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-disaster-recovery

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions