Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Ashwin GovindarajuluAshwin GovindarajuluReporter
Dave RigbyDave Rigby(Deactivated)Is this a Regression?
NoTriage
UntriagedIssue Impact
externalStory Points
0Sprint
NonePriority
CriticalInstabug
Open Instabug
Details
Details
Assignee
Ashwin Govindarajulu
Ashwin GovindarajuluReporter
Dave Rigby
Dave Rigby(Deactivated)Is this a Regression?
No
Triage
Untriaged
Issue Impact
external
Story Points
0
Sprint
None
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created June 7, 2023 at 3:56 PM
Updated March 21, 2025 at 2:50 AM
Resolved June 15, 2023 at 2:41 PM
As seen in rebalance test described in , a cluster with KV plus other services (FTS and GSI in the above instance) performing a (KV) rebalance can hang if KV requires backfills and all of the available backfill slots (default 4096) are consumed by other services.
For example, it was observed that 4231 streams were attempting to backfill:
Which were made up of:
However given there's only 4096 possible at once, a number of stream were pending (waiting for a slot to become available before they can start):
While we can also look at reducing the number of concurrent streams other services create, Ideally we want a solution such that KV is "defensive" - irrespective of what other services request, it can always make rebalance progress.
Issue
Resolution
Data Service rebalance duration was significantly impacted if other DCP clients created a large number of Streams, if those streams needed to be read from disk, due to the lack of prioritizing between rebalance and other DCP clients.
The number of backfills each DCP client can perform concurrently has been limited to allow fairer allocation of resources.