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.16k stars 3.82k forks source link

kv: intent resolution of abandoned intents by the gc queue should be subject to replication AC #135837

Open arulajmani opened 1 day ago

arulajmani commented 1 day ago

Describe the problem

We recently saw an incident where followers were overloaded due to intent resolution triggered by the GC queue. @sumeerbhola pointed out:

Looking at mvccGCQueue.process , it uses gcAdmissionHeader and that uses kv.gc.admission_priority which is BulkNormalPri. So these should be getting classified as elastic. So we need to look at that code again to see why this did not behave as expected.

Tracking issue to investigate this.

Jira issue: CRDB-44746

Epic CRDB-43580