cockroachdb / replicator

replicator is a toolkit for ingesting logical replication feeds into a CockroachDB cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add options for min and max timestamps

BramGruneir opened this issue · comments

We should have a min and max timestamp in which to apply mutations from. Mutations that fall outside of this range should be ignored.

A metric for tracking both pre-min and post-max ignored mutations would be useful for monitoring purposes.

The min will be useful when applying changes after a restore or import.
And max can be useful when looking to only reply mutations to a certain time.

A futher enhancement would be to store those mutations in a DLQ of some sort, but I don't think we need that at this time.