cockroachdb / cockroachdb/cockroach

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

オープン
#93,203 コメント 13 件 リアクション 0 件 担当者 0 名 GitHub で見る
A-cdc C-enhancement O-community T-cdc
主要言語
Go
スター
32.5k
フォーク
4.1k
PR マージ指標
PR 指標を取得中

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。