cockroachdb / cockroachdb/cockroach

kvserver: add ability to filter specific request types from replica load accounting

Open
#123,524 0 comments 0 reactions 0 assignees View on GitHub
A-kv-distribution C-enhancement O-support P-3 T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**
We have seen that export requests in a lightly loaded cluster (with large amounts of data) can cause significant rebalancing activity which is ultimately wasted.

**Describe the solution you'd like**

Add the ability to exclude specific types of request from load accounting,
**Describe alternatives you've considered**

We could instead exclude these when deciding upon rebalancing decisions but still account for them otherwise, i.e. maintain separate counters for these request types.

**Additional context**

![image](https://github.com/cockroachdb/cockroach/assets/39606633/9d2d713e-a925-40c9-8282-c70243d4eb71)

Jira issue: CRDB-38385

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.