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
30k stars 3.79k forks source link

sql: make statement-bundle recreate work with MR and distsql #99131

Open cucaroach opened 1 year ago

cucaroach commented 1 year ago

statement-bundle recreate is currently unaware of regions, localities, node topology and range cache information. We should enhance statement-bundles to have all the information it needs to do accurate logical and physical planning.

Jira issue: CRDB-25715 Epic CRDB-37757

rytaft commented 9 months ago

See example here of what we'd need to add to the bundle: https://github.com/cockroachlabs/support/issues/2478#issuecomment-1656508923