Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: experimental distributor data skew #3570

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

kolesnikovae
Copy link
Collaborator

@kolesnikovae kolesnikovae commented Sep 18, 2024

The experimental implementation has number of flaws which results in poorly balanced data. This PR fixes an obvious bug in the distribution algorithm: if the tenant size is unlimited, we reuse shared data, which results in oddly balanced data.

This implementation is to be replaced with a more elaborate one soon, therefore I'm not adding unit tests

@kolesnikovae kolesnikovae marked this pull request as ready for review September 18, 2024 10:49
@kolesnikovae kolesnikovae requested a review from a team as a code owner September 18, 2024 10:49
@kolesnikovae kolesnikovae enabled auto-merge (squash) September 18, 2024 10:49
@kolesnikovae kolesnikovae merged commit ffed89e into main Sep 19, 2024
18 checks passed
@kolesnikovae kolesnikovae deleted the fix/ingestion-sharding branch September 19, 2024 03:24
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.

2 participants