cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.11k stars 3.81k forks source link

crosscluster/logical: in SHOW LDR JOBS, either report rounded down replicated time, or replicatedTimeEpoch #130114

Open msbutler opened 2 months ago

msbutler commented 2 months ago

To ensure resumption from a cursor without data loss, the user relies on the replicated time provided by SHOW LDR JOBS. The stringified replicated time may get rounded past the persisted hlc.timestamp to the nearest microsecond. Instead, we should intentionally round down the replicated time presented in SHOW LDR JOBS, or also post the replicatedTimeEpoch (AOST) as a decimal.

Jira issue: CRDB-41878

Epic CRDB-40869

blathers-crl[bot] commented 2 months ago

cc @cockroachdb/disaster-recovery

msbutler commented 1 month ago

this still needs to be done.