[Remote Segments] Segment merges creates high backlog of segments to upload to remote store #7474
Labels
enhancement
Enhancement or improvement to existing feature or request
Performance
This is for any performance related enhancements or bugs
Storage:Durability
Issues and PRs related to the durability framework
v2.8.0
'Issues and PRs related to version v2.8.0'
Is your feature request related to a problem? Please describe.
After after every refresh today, we upload the newer segment files to the remote store. In case a segment merge was to happen, it will trigger a refresh and a sudden surge of backlog gets created for upload to remote store. As of now, the segments upload from
RemoteStoreRefreshListener
is serial and takes as much as 300s to finish. What this means is that there would not be any refreshes that can happen until the upload finishes - leading to freshness delay on remote store and subsequently replicas.Describe the solution you'd like
Parallelise segment file uploads in
RemoteStoreRefreshListener
.The text was updated successfully, but these errors were encountered: