Skip to content

Conversation

@yuchen-db
Copy link

this causes some ingestion dips when scaling up

@yuchen-db yuchen-db requested a review from jnyi October 22, 2025 21:48
@yuchen-db yuchen-db force-pushed the yuchen-db/p-fix-replica-non-atomic branch from 5a1476c to 099b76b Compare October 22, 2025 22:21
Copy link

@jnyi jnyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for the fix, seems like it is because getStsDesiredReplicas would return inconsistent results

var endpoints []receive.Endpoint

for _, sts := range stsList {
desiredReplicas, err := c.getStsDesiredReplicas(ctx, sts)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inconsistent to get desired replicas in hashring controller, maybe we should fix in our internal version too?

@jnyi jnyi merged commit 2d3ea03 into db_main Oct 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants