cockroachdb / cockroachdb/cockroach

changefeedccl: document high-water-mark semantics in REGIONAL BY ROW tables during network partition

Ouverte
#93,203 13 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
A-cdc C-enhancement O-community T-cdc
Langage dominant
Go
Étoiles
32.5k
Forks
4.1k
Métriques de merge des PR
Métriques de PR en attente

Description

A client uses change-feeds to keep an up-to-date client-side cache of a table. This client requires observing events in a global order, so they wait for high-water-marks to re-order previously-received events client-side before consuming them. When this client applies this approach to a `REGIONAL BY ROW` table, what is the expected semantic of high-water-marks delivered in the change-feed during a network partition between regions that the table has rows for?

If the client wants to keep at the very least a strongly consistent view of local data in the table, would it suffice to issue a geo-filtered change-feed, and would the high-water marks for those filtered change-feeds be delivered when the change-feed in question has seen all relevant events up to the mark, or are the high-water-marks still table-global?

Jira issue: CRDB-22219

Epic CRDB-21737

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.