-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make reroute iteration time-bound for large shard allocations #14848
Make reroute iteration time-bound for large shard allocations #14848
Conversation
❌ Gradle check result for 9b256fb: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Bukhtawar Khan <[email protected]>
Signed-off-by: Rishab Nahata <[email protected]>
f9fdb3d
to
ef8232a
Compare
❌ Gradle check result for f9fdb3d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for ef8232a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Bukhtawar Khan <[email protected]>
❌ Gradle check result for bf9cf16: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/gateway/ReplicaShardBatchAllocator.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/gateway/ReplicaShardBatchAllocator.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Rishab Nahata <[email protected]>
Signed-off-by: Rishab Nahata <[email protected]>
Signed-off-by: Rishab Nahata <[email protected]>
❌ Gradle check result for 07befa2: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Rishab Nahata <[email protected]>
* Make reroute iteration time-bound for large shard allocations Signed-off-by: Bukhtawar Khan <[email protected]> Co-authored-by: Rishab Nahata <[email protected]> (cherry picked from commit 2a14c27) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Make reroute iteration time-bound for large shard allocations Signed-off-by: Bukhtawar Khan <[email protected]> Co-authored-by: Rishab Nahata <[email protected]> (cherry picked from commit 2a14c27) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
#14953) * Make reroute iteration time-bound for large shard allocations Signed-off-by: Bukhtawar Khan <[email protected]> Co-authored-by: Rishab Nahata <[email protected]>
#14954) * Make reroute iteration time-bound for large shard allocations Signed-off-by: Bukhtawar Khan <[email protected]> Co-authored-by: Rishab Nahata <[email protected]>
…arch-project#14848) * Make reroute iteration time-bound for large shard allocations Signed-off-by: Bukhtawar Khan <[email protected]> Co-authored-by: Rishab Nahata <[email protected]>
…arch-project#14848) * Make reroute iteration time-bound for large shard allocations Signed-off-by: Bukhtawar Khan <[email protected]> Co-authored-by: Rishab Nahata <[email protected]>
Description
The PR achieves to time-box the reroute duration to finish within a specific timeout so that it allows for URGENT priority tasks that would otherwise be queued up. This is important since the cluster becomes unmanageable and any admin API calls including including index creation would fail.
Without changes
With changes
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.