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

kvserver/rangefeed: catchup scan performance issues #133815

Open stevendanna opened 5 days ago

stevendanna commented 5 days ago

Describe the problem

This is a high level tracking issue tracking confirmed and suspected problems with CatchUp scans. Many of the problems listed here are not necessarily bugs and some have only been speculated about but not confirmed to be a real problem in production. Items here without related issues have not yet been confirmed as real-world problems.

Other bugs of potential interest:

Jira issue: CRDB-43776

wenyihu6 commented 5 days ago

Linking two other known catch-up scan issues here for consolidation: https://github.com/cockroachdb/cockroach/issues/129049 (memory accounting is missing for catch up scan) and https://github.com/cockroachdb/cockroach/issues/125953 (catch up scan not watching for disconnection signal properly).