You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setting -distributor.ingestion-tenant-shard-size to 0 throws error #5189
Describe the bug
setting -distributor.ingestion-tenant-shard-size to 0 throws error . According to the documentation setting this flag to 0 should disable the shuffle sharding. However it throws validation error that value can not be 0.
I am familiar with this. I saw it when I started using shuffle sharding for ingesters a long time ago. Ended up setting a bigger than 15 value for all users while configuring bigger shard size for larger users using overrides.
Fixing the docs seems like the easiest to do here. But I am wondering if we should instead fix the limit to do what the docs say. "0 should make all tenants use no sharding by default".
Activity
friedrichg commentedon Mar 1, 2023
I am familiar with this. I saw it when I started using shuffle sharding for ingesters a long time ago. Ended up setting a bigger than 15 value for all users while configuring bigger shard size for larger users using overrides.
Fixing the docs seems like the easiest to do here. But I am wondering if we should instead fix the limit to do what the docs say. "0 should make all tenants use no sharding by default".
dogukanteber commentedon Apr 3, 2023
I think that is better @friedrichg. I would like to fix this problem if we agree on what you propose.
I reproduced the error in my local system but before working on the issue, I would like to know whether I should fix the docs or fix the code