cockroachdb / cockroachdb/cockroach

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

Đang mở
#93,203 13 bình luận 0 reaction 0 người được giao Xem trên GitHub
A-cdc C-enhancement O-community T-cdc
Ngôn ngữ chính
Go
Star
32.5k
Fork
4.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.