component/remote storagehelp wantednot-as-easy-as-it-lookspriority/P3
Repository metrics
- Stars
- (64,042 stars)
- PR merge metrics
- (Avg merge 11d 5h) (118 merged PRs in 30d)
Description
Right now resharding, especially sharding up is very disruptive to throughput. The resharding process drains all queues, which takes a significant amount of time if the remote endpoint is having issues. This will block new samples from being appended while they queues clear, and one slow shard can cause throughput to drop significantly.
Instead of waiting for all shards to flush to remote storage we could send them into the new shards that are being created, being sure to rebalance them into the appropriate shard.