-
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
Async Batch shards changes for GatewayAllocator #8746
Async Batch shards changes for GatewayAllocator #8746
Commits on Apr 25, 2024
-
Draft changes for creation of batches
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f13975 - Browse repository at this point
Copy the full SHA 7f13975View commit details -
WIP changes for GA changes for fetching
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 637fca0 - Browse repository at this point
Copy the full SHA 637fca0View commit details -
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49f7ce1 - Browse repository at this point
Copy the full SHA 49f7ce1View commit details -
Binding of Trasnport Classes to Injector
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b51dfb - Browse repository at this point
Copy the full SHA 9b51dfbView commit details -
Updated ShardsBatch to take ShardRouting into account instead of Shar…
…dIds Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0075bb2 - Browse repository at this point
Copy the full SHA 0075bb2View commit details -
Cleaned Shards from batches after allocation attempt and moved keys t…
…o ShardIds in ShardsBatch 1. Cleaning of shards from batches in shard started and shardFailed 2. ShardRouting Equals method have nodeId and unassignedInfo for equals. The state changes after assignment so removing it from batcher class becomes difficult Therefore added ShardsId as map key in Shardsbatch class and new EntryClass for it to hold the values for it Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38205cf - Browse repository at this point
Copy the full SHA 38205cfView commit details -
Allocation service changes for batch assignment
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9bbba2e - Browse repository at this point
Copy the full SHA 9bbba2eView commit details -
Added in-flight fetches for batchMode
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 818ef1d - Browse repository at this point
Copy the full SHA 818ef1dView commit details -
1. updating shard routing in batches in accordance with previous behaviour 2. Closing of AsyncShardFetch in cleanCaches() 3. Updated in getNumberOfInflightFetches for batch maps 4. Renamed variable names Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1eabedf - Browse repository at this point
Copy the full SHA 1eabedfView commit details -
Signed-off-by: Gaurav Chandani <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80afedf - Browse repository at this point
Copy the full SHA 80afedfView commit details -
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9238ebf - Browse repository at this point
Copy the full SHA 9238ebfView commit details -
Added missed clusterModule changes
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 728167c - Browse repository at this point
Copy the full SHA 728167cView commit details -
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fe6709 - Browse repository at this point
Copy the full SHA 7fe6709View commit details -
1. Moved setting of batch enable disable in this PR 2. Added java docs Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 214aaa4 - Browse repository at this point
Copy the full SHA 214aaa4View commit details -
1. Added a serparate class for batch mode of GA 2. nit comments of renaming variables 3. Added ClupritShardTest Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5992235 - Browse repository at this point
Copy the full SHA 5992235View commit details -
Added Changes for ShardBatchGatewayAllocator
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7eb12b9 - Browse repository at this point
Copy the full SHA 7eb12b9View commit details -
Signed-off-by: Gaurav Chandani <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d741081 - Browse repository at this point
Copy the full SHA d741081View commit details -
Cosmetic changes in AllocationService
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 809c99f - Browse repository at this point
Copy the full SHA 809c99fView commit details -
1. Made changes so that Allocation Service run only default implementation of batch mode 2. Renamed methods 3. Added and modified documenatation Signed-off-by: Gaurav Chandani <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 340abe4 - Browse repository at this point
Copy the full SHA 340abe4View commit details -
Changes to implement interface for ShardBatchGatewayAllocator
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ee2040 - Browse repository at this point
Copy the full SHA 4ee2040View commit details -
Fixed PR comments around documentation
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f6284c - Browse repository at this point
Copy the full SHA 9f6284cView commit details -
Renamed allocateUnassignedBatch to allocateAllUnassignedShards
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38692a0 - Browse repository at this point
Copy the full SHA 38692a0View commit details -
Removed batchMode variable from ShardsBatchGatewayAllocator
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20312bd - Browse repository at this point
Copy the full SHA 20312bdView commit details -
Fix TestShardBatchGatewayAllocator
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8880e80 - Browse repository at this point
Copy the full SHA 8880e80View commit details -
Renamed variables and added documentations
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79a99e0 - Browse repository at this point
Copy the full SHA 79a99e0View commit details -
Use new AsyncShardFetchBatch class for creating cache for batch trans…
…port actions Signed-off-by: Aman Khare <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2da82c - Browse repository at this point
Copy the full SHA c2da82cView commit details -
Correct version check with 3.0.0
Signed-off-by: Aman Khare <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2e5522 - Browse repository at this point
Copy the full SHA d2e5522View commit details -
Local lookup map for shardId to batchId, more code comments
Signed-off-by: Aman Khare <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e4fa06 - Browse repository at this point
Copy the full SHA 4e4fa06View commit details -
Remove shards from batches if they are not present in unassigned list…
… from allocation object Signed-off-by: Aman Khare <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b851b9 - Browse repository at this point
Copy the full SHA 3b851b9View commit details -
1.Stop data nodes in test cases deterministically instead of random 2.Minor rename of variables Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edc66dd - Browse repository at this point
Copy the full SHA edc66ddView commit details -
Incorporate AsyncShardBatchFetch class changes
Signed-off-by: Aman Khare <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26a90ce - Browse repository at this point
Copy the full SHA 26a90ceView commit details -
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3da0af3 - Browse repository at this point
Copy the full SHA 3da0af3View commit details -
Delete batch if empty when removing shards from batch
Signed-off-by: Aman Khare <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dbd51b5 - Browse repository at this point
Copy the full SHA dbd51b5View commit details -
Signed-off-by: Aman Khare <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eff1d2e - Browse repository at this point
Copy the full SHA eff1d2eView commit details -
Signed-off-by: Gaurav Chandani <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f52f9f - Browse repository at this point
Copy the full SHA 6f52f9fView commit details -
Refactored to reuse duplicate code
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7298a08 - Browse repository at this point
Copy the full SHA 7298a08View commit details -
Keep initializing shards in batch
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1afa3f4 - Browse repository at this point
Copy the full SHA 1afa3f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b5751e - Browse repository at this point
Copy the full SHA 3b5751eView commit details -
Update ensureAsyncFetchStorePrimaryRecency and refresh batch flow
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ae90fc - Browse repository at this point
Copy the full SHA 8ae90fcView commit details -
Revert ensureAsyncFetchStorePrimaryRecency update
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16d6c59 - Browse repository at this point
Copy the full SHA 16d6c59View commit details -
Enable batch mode temporarily for gradle check run
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0693b9a - Browse repository at this point
Copy the full SHA 0693b9aView commit details -
Disabled batch mode by default
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ff4588 - Browse repository at this point
Copy the full SHA 1ff4588View commit details -
Merge branch 'main' into GA-batcher-PR
# Conflicts: # server/src/internalClusterTest/java/org/opensearch/gateway/RecoveryFromGatewayIT.java # server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java # server/src/main/java/org/opensearch/common/settings/ClusterSettings.java # server/src/main/java/org/opensearch/gateway/ReplicaShardBatchAllocator.java # server/src/main/java/org/opensearch/indices/store/TransportNodesListShardStoreMetadataBatch.java # server/src/main/java/org/opensearch/node/Node.java # server/src/test/java/org/opensearch/gateway/ShardBatchCacheTests.java # test/framework/src/main/java/org/opensearch/test/gateway/TestGatewayAllocator.java
Configuration menu - View commit details
-
Copy full SHA for 95cec33 - Browse repository at this point
Copy the full SHA 95cec33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f103c1 - Browse repository at this point
Copy the full SHA 3f103c1View commit details -
Signed-off-by: Shivansh Arora <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 154d13b - Browse repository at this point
Copy the full SHA 154d13bView commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 080c3ba - Browse repository at this point
Copy the full SHA 080c3baView commit details