opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.77k stars 1.82k forks source link

[Remote State] Add jitter to downloads from remote store #15397

Closed soosinha closed 1 month ago

soosinha commented 2 months ago

Is your feature request related to a problem? Please describe

For remote cluster state publication, all the entity metadata in the cluster state are uploaded as separate files. If there are multiple entities in the cluster state that are changed, all these will be uploaded by the active cluster manager and downloaded at the same time by the follower nodes. This sudden burst in traffic to backing remote storage could cause throttling.

Describe the solution you'd like

Add jitter while downloading remote state files to mitigate the risk of throttling.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

rajiv-kv commented 1 month ago

[Triage - attendees 1 2 3] - @soosinha is this tracked for 2.18 ?

soosinha commented 1 month ago

is this tracked for 2.18 ?

Yes @rajiv-kv

Assigning to @Arpit-Bandejiya