-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] Add support for API versioning and fail open in weighted shard routing #5779
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…roject#3796) (opensearch-project#3990) * Parallelize stale blobs deletion during snapshot delete Signed-off-by: Piyush Daftary <[email protected]> * Adding test which throws exception Signed-off-by: Piyush Daftary <[email protected]> * Adusting identation for spotlessJavaCheck Signed-off-by: Piyush Daftary <[email protected]> * Adding more description to MAX_SHARD_BLOB_DELETE_BATCH_SIZE Signed-off-by: Piyush Daftary <[email protected]> * Renaming max_shard_blob_delete_batch_size to max_snapshot_shard_blob_delete_batch_size Signed-off-by: Piyush Daftary <[email protected]> (cherry picked from commit 1c787e8) Co-authored-by: piyush <[email protected]>
…hdfs (opensearch-project#3764) (opensearch-project#3783) * Bump commons-configuration2 in /plugins/repository-hdfs Bumps commons-configuration2 from 2.7 to 2.8.0. --- updated-dependencies: - dependency-name: org.apache.commons:commons-configuration2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Updating SHAs Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> (cherry picked from commit 5a1dbbe) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ManagerService' (opensearch-project#4022) (opensearch-project#4050) To support inclusive language, the `master` terminology is going to be replaced by `cluster manager` in the code base. - Deprecate class `MasterService` and create alternative class `ClusterManagerService`. - Add a unit test to validate the method `ClusterService.getMasterService()` can still return an object in type `MasterService`. - Rename all the existing references of `MasterService` to `ClusterManagerService`, and rename the local variable names. - Deprecate public methods `ClusterServiceUtils.createMasterService(...)` and create alternative methods `createClusterManagerService(...)` Note: The class `ClusterManagerService` is a subclass of `MasterService`, the inheritance relationship is opposite from most of the other classes with `Master` in the name (that covered by issue opensearch-project#1684). The reason is: There is a public method that has return value in type `MasterService`, https://github.com/opensearch-project/OpenSearch/blob/388c80ad94529b1d9aad0a735c4740dce2932a32/server/src/main/java/org/opensearch/cluster/service/ClusterService.java#L221 And in the code for Performance Analyzer plugin, there is a local variable in type `MasterService`: https://github.com/opensearch-project/performance-analyzer/blob/5ee4809ac1cda6517ed871aeb12c6635203e7f1d/src/main/java/org/opensearch/performanceanalyzer/collectors/MasterServiceEventMetrics.java#L219 If making the old class `MasterService` a subclass of the new class `ClusterManagerService`, the above usage will be broken. Reversing the inheritance relationship, I'm able to keep the backwards compatibility of the method `getMasterService()` while deprecating the class `MasterService` and encourage using a new class `ClusterManagerService`. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit 740f75d)
…n directory 'test/framework' (opensearch-project#4051) (opensearch-project#4057) To support inclusive language, the master terminology is going to be replaced by cluster manager in the code base. After the class MasterService has been deprecated and class ClusterManagerService has been created in opensearch-project#4022 / commit 740f75d, the classes in `test/framework` directory with name 'MasterService' can be deprecated and renamed. - Rename the following classes in `test/framework` directory: FakeThreadPoolMasterService -> FakeThreadPoolClusterManagerService BlockMasterServiceOnMaster -> BlockClusterManagerServiceOnClusterManager BusyMasterServiceDisruption -> BusyClusterManagerServiceDisruption In the following commit, I will add back the above 3 classes with the old name and deprecate them, to keep the backwards compatibility. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit bea5d1a) Co-authored-by: Tianli Feng <[email protected]>
…ect#4037) Bucket aggregations compute bucket doc_count values by incrementing the doc_count by 1 for every document collected in the bucket. When using summary fields (such as aggregate_metric_double) one field may represent more than one document. To provide this functionality this commit implements a new field mapper (named doc_count field mapper). This field is a positive integer representing the number of documents aggregated in a single summary field. Bucket aggregations check if a field of type doc_count exists in a document and take this value into consideration when computing doc counts. Note: This originated from upstream PR 64503. Signed-off-by: Petar Dzepina <[email protected]> (cherry picked from commit fb7d81a) Co-authored-by: Petar Dzepina <[email protected]>
…r to trigger when Segment replication is turned on and Primary shard refreshes (opensearch-project#4044) * Adding CheckpointRefreshListener to trigger when Segment replication is turned on and Primary shard refreshes (opensearch-project#3108) Signed-off-by: Rishikesh1159 <[email protected]>
…er and BusyMasterServiceDisruption (opensearch-project#4058) (opensearch-project#4068) To support inclusive language, the master terminology is going to be replaced by cluster manager in the code base. In a previous PR opensearch-project#4051 / commit opensearch-project@bea5d1a, 3 classes in `test/framework` directory that contains `master` in the name were renamed: ``` FakeThreadPoolMasterService -> FakeThreadPoolClusterManagerService BlockMasterServiceOnMaster -> BlockClusterManagerServiceOnClusterManager BusyMasterServiceDisruption -> BusyClusterManagerServiceDisruption ``` This is a following commit to add back the classes with the old name to keep the backwards compatibility. The classes with the old name will be subclass of the classes with new name, so that maintaining one implementation can support the usage for two classes. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit cebeb8c) Co-authored-by: Tianli Feng <[email protected]>
…ject#3462) (opensearch-project#4086) * [Backport 2.x] Making all the copies a multiple of attribute count Signed-off-by: Gaurav Bafna <[email protected]>
opensearch-project#4087) * [Backport 2.x] Support task resource tracking in OpenSearch * Reopens changes from opensearch-project#2639 (reverted in opensearch-project#3046) to add a framework for task resource tracking. Currently, SearchTask and SearchShardTask support resource tracking but it can be extended to any other task. * Fixed a race-condition when Task is unregistered before its threads are stopped * Improved error handling and simplified task resource tracking completion listener * Avoid registering listeners on already completed tasks Signed-off-by: Ketan Verma <[email protected]>
…pensearch-project#3822) [Backport 2.x] Integrate Engine with decoupled Translog interfaces Co-authored-by: Bukhtawar Khan <[email protected]> Co-authored-by: Satyajit Ganguly <[email protected]>
…4088) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit bab2e59) Signed-off-by: Andriy Redko <[email protected]>
…pensearch-project#4092) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit d1ec4ea) Co-authored-by: Andriy Redko <[email protected]>
…ice to orchestrate replication events. (opensearch-project#4074) * [Segment Replication] Add SegmentReplicationTargetService to orchestrate replication events. (opensearch-project#3439) * Add SegmentReplicationTargetService to orchestrate replication events. This change introduces boilerplate classes for Segment Replication and a target service to orchestrate replication events. It also includes two refactors of peer recovery components for reuse. 1. Rename RecoveryFileChunkRequest to FileChunkRequest and extract code to handle throttling into ReplicationTarget. 2. Extracts a component to execute retryable requests over the transport layer. Signed-off-by: Marc Handalian <[email protected]> * Code cleanup. Signed-off-by: Marc Handalian <[email protected]> * Make SegmentReplicationTargetService component final so that it can not be extended by plugins. Signed-off-by: Marc Handalian <[email protected]> * Removing Wildcard imports Signed-off-by: Rishikesh1159 <[email protected]> Co-authored-by: Marc Handalian <[email protected]>
Signed-off-by: Kartik Ganesh <[email protected]>
…ject#4054) (opensearch-project#4078) Signed-off-by: Daniel Widdis <[email protected]> (cherry picked from commit 707ca13) Co-authored-by: Daniel Widdis <[email protected]>
…pensearch-project#4095) * Changes to encapsulate Translog into TranslogManager. Signed-off-by: Satyajit Ganguly <[email protected]> Co-authored-by: Bukhtawar Khan <[email protected]>
…ter' in name (opensearch-project#4121) (opensearch-project#4122) Signed-off-by: Xue Zhou <[email protected]> (cherry picked from commit ba9cdcd) Co-authored-by: Xue Zhou <[email protected]>
…4077) (opensearch-project#4108) Signed-off-by: Peter Zhu <[email protected]> (cherry picked from commit 27c5493) Co-authored-by: Peter Zhu <[email protected]>
…ct#4140) * Integrate task consumers to capture task resource information during unregister. Add consumer that logs topN expensive search tasks Co-authored-by: Sruti Parthiban <[email protected]>
…en total ops higher compared to expected (opensearch-project#4143) (opensearch-project#4144) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 203f44e) Co-authored-by: Andriy Redko <[email protected]>
…pensearch-project#4154) Signed-off-by: Kartik Ganesh <[email protected]>
* Upgrade dependencies (opensearch-project#4047) * Upgrading dependencies for hadoop and aws-java-sdk Signed-off-by: Vacha Shah <[email protected]> * Fixing precommit Signed-off-by: Vacha Shah <[email protected]> * Upgrading transitive dependencies Signed-off-by: Vacha Shah <[email protected]> * Excluding transitive dependencies Signed-off-by: Vacha Shah <[email protected]> (cherry picked from commit 88f5537) * Removing seg-rep IT class from the scope of this backport The original change included a javadoc update to the IT class, but the test class was never backported from opensearch-project#3743 to 2.x. Since the scope of this change is to backport dependency upgrades only, this class has been removed. Signed-off-by: Kartik Ganesh <[email protected]> Co-authored-by: Vacha Shah <[email protected]>
…chestrating replication events. (opensearch-project#4128) * [Segment Replication] Added source-side classes for orchestrating replication events (opensearch-project#3470) This change expands on the existing SegmentReplicationSource interface and its corresponding Factory class by introducing an implementation where the replication source is a primary shard (PrimaryShardReplicationSource). These code paths execute on the target. The primary shard implementation creates the requests to be send to the source/primary shard. Correspondingly, this change also defines two request classes for the GET_CHECKPOINT_INFO and GET_SEGMENT_FILES requests as well as an abstract superclass. A CopyState class has been introduced that captures point-in-time, file-level details from an IndexShard. This implementation mirrors Lucene's NRT CopyState implementation. Finally, a service class has been introduce for segment replication that runs on the source side (SegmentReplicationSourceService) which handles these two types of incoming requests. This includes private handler classes that house the logic to respond to these requests, with some functionality stubbed for now. The service class also uses a simple map to cache CopyState objects that would be needed by replication targets. Unit tests have been added/updated for all new functionality. Signed-off-by: Kartik Ganesh <[email protected]> * Remove abstract getProcessedLocalCheckpoint() from Engine.java as it is a breaking change and fix other uses of getProcessedLocalCheckpoint() Signed-off-by: Rishikesh1159 <[email protected]> * Apply spotlessCheck Signed-off-by: Rishikesh1159 <[email protected]> * Fixing error in ReadOnlyEngineTests by casting. Signed-off-by: Rishikesh1159 <[email protected]> * Addressing comments on PR. Signed-off-by: Rishikesh1159 <[email protected]> Co-authored-by: Kartik Ganesh <[email protected]>
…ch-project#4150) (opensearch-project#4167) Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 0f2ed70) Co-authored-by: Andriy Redko <[email protected]>
…ct#3525 opensearch-project#3533 opensearch-project#3540 opensearch-project#3943 opensearch-project#3963 From main branch (opensearch-project#4181) * Resolving import conflict in Node.java and mergining PR opensearch-project#3525. Signed-off-by: Rishikesh1159 <[email protected]> * Resolving conflicts and merging PR opensearch-project#3533. Signed-off-by: Rishikesh1159 <[email protected]> * Resolving conflicts and Merging PR opensearch-project#3540. Signed-off-by: Rishikesh1159 <[email protected]> * Applying spotlesscheck and fixing wildcard imports. Signed-off-by: Rishikesh1159 <[email protected]> * [Segment Replication] Fixing flaky test failure happening for testShardAlreadyReplicating() (opensearch-project#3943) * Fixing flaky test failure happening for testShardAlreadyReplicating() Signed-off-by: Rishikesh1159 <[email protected]> * Fix possible flaky test for testBeforeIndexShardClosed_CancelsOngoingReplications() (opensearch-project#3963) * Fixing flaky test failure happening for testShardAlreadyReplicating() Signed-off-by: Rishikesh1159 <[email protected]> * Removing assert segrep() in getProcessedLocalCheckpoint() of Index.shard class. Signed-off-by: Rishikesh1159 <[email protected]> * Adding back assert statement and make index setting to segment replication in SegmentReplicationSourceHandlerTests and SegmentReplicationTargetServiceTests. Signed-off-by: Rishikesh1159 <[email protected]> * Revert "Adding back assert statement and make index setting to segment replication in SegmentReplicationSourceHandlerTests and SegmentReplicationTargetServiceTests." Signed-off-by: Rishikesh1159 <[email protected]> This reverts commit 8c5753b. Signed-off-by: Rishikesh1159 <[email protected]> Co-authored-by: Marc Handalian <[email protected]> Co-authored-by: Poojita Raj <[email protected]>
…4213) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 0dbbd72) Co-authored-by: Andriy Redko <[email protected]>
…server to the geo module. (opensearch-project#4179) Refactors the GeoBoundsAggregation for geo_point types from the core server to the geo module. Signed-off-by: Navneet Verma <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
…pensearch-project#5617) (opensearch-project#5619) Signed-off-by: Dhwanil Patel <[email protected]> (cherry picked from commit 9c03010) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…createComponents support for extensions (opensearch-project#5621) Signed-off-by: Ryan Bogan <[email protected]> Signed-off-by: Ryan Bogan <[email protected]>
…nsions (opensearch-project#5629) Signed-off-by: Ryan Bogan <[email protected]> Signed-off-by: Ryan Bogan <[email protected]>
…opensearch-project#5654) Signed-off-by: Daniel Widdis <[email protected]> (cherry picked from commit cc2b704) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Daniel Widdis <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (opensearch-project#5653) Signed-off-by: Daniel Widdis <[email protected]> (cherry picked from commit 30ac284) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Daniel Widdis <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…rch-project#5656) (opensearch-project#5657) * Add waiting time to account for Thread.sleep inaccuracy Signed-off-by: Daniel Widdis <[email protected]> (cherry picked from commit d248643) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Daniel Widdis <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… setting (opensearch-project#5633) (opensearch-project#5647) * Add version check during task submission for bwc for static threshold setting Signed-off-by: Dhwanil Patel <[email protected]> (cherry picked from commit ea1cc9d)
…search-project#5683) Standardize snapshot indices parsing so that combinations of included and excluded indices are treated the same regardless of the order they are listed in. Signed-off-by: Stephen Crawford <[email protected]> (cherry picked from commit 57d4485) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Stephen Crawford <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: Rishikesh1159 <[email protected]>
Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: Rishikesh1159 <[email protected]>
…ch-project#5684) * Bump gradle-info-plugin from 11.3.3 to 12.0.0 Signed-off-by: Rishikesh1159 <[email protected]> * Update correct dependency version in changelog Signed-off-by: Rishikesh1159 <[email protected]> Signed-off-by: Rishikesh1159 <[email protected]>
…project#5668) (opensearch-project#5690) * Adding @gbbafna to Opensearch maintainers Signed-off-by: Bukhtawar Khan <[email protected]>
…ts API (opensearch-project#5691) * Validate attributes of routing nodes for Routing Weights API (opensearch-project#5607) * Changes following things in Routing Weights API and Decommission Action - a. Consider only routing node's attribute for validation instead of all nodes b. Ensure no more than 50% node has weight zero c. Removal of decommission action's direct dependence on force zone awareness Signed-off-by: Rishab Nahata <[email protected]>
…shots (opensearch-project#5429) * Enhance searchable snapshots to enable a read-only view of older snapshots This change removes the guardrails around N-1 backward compatibility and uses Lucene's "expert" APIs to read snapshots (Lucene segments) older than N-1 on a best-effort basis. The functionality is gated by an additional feature flag, separate from the searchable snapshots flag. Note that the Lucene integration is rather inefficient because the necessary "expert" Lucene APIs are still package-private. Signed-off-by: Kartik Ganesh <[email protected]> * Added some unit tests This change also includes a test index ZIP file for the unit tests. The change also introduces a bug fix in the readAnySegmentsInfo method to close the reader before returning the SegmentInfos object - this avoids dangling/open file handles. Signed-off-by: Kartik Ganesh <[email protected]> * Incorporating PR feedback Signed-off-by: Kartik Ganesh <[email protected]> * Incorporate PR comments from andrross Signed-off-by: Kartik Ganesh <[email protected]> * Remove use of IndexSetting for minimum version for snapshots backwards compatibility Signed-off-by: Kartik Ganesh <[email protected]> * Moved ES 6.3.0 test data to a subdirectory This change also includes an update to the file name to clarify that it is an ES index, and changing the associated markdown file name to just README.md. All tests that reference this ZIP file have corresponding changes to the path they reference. Signed-off-by: Kartik Ganesh <[email protected]> * Update unit tests to use try-with-resources Signed-off-by: Kartik Ganesh <[email protected]> * Added FeatureFlagSetter helper class Also refactored unit test classes to use the helper class. Signed-off-by: Kartik Ganesh <[email protected]> * Incorporating PR feedback from @mch2 Signed-off-by: Kartik Ganesh <[email protected]> * Fix IndexSettingsTests Updated the asserts in IndexSettingsTests to account for the new defaulting behavior. Signed-off-by: Kartik Ganesh <[email protected]> Signed-off-by: Kartik Ganesh <[email protected]>
…opensearch-project#5732) *[Backport 2.x] Add default replica count config settings Signed-off-by: Arpit Bandejiya <[email protected]>
Signed-off-by: Sachin Kale <[email protected]>
…rch-project#4480) (opensearch-project#5693) * [Backport 2.x] Introduce remote translog transfer support Signed-off-by: Bukhtawar Khan <[email protected]>
…project#5725) Signed-off-by: Gaurav Bafna <[email protected]>
…pensearch-project#5731) * Remove PRRL creation/deletion in peer recovery of remote store enabled replica (opensearch-project#4954) * Add RecoverySourceHandlerFactory for extensibility Signed-off-by: Ashish Singh <[email protected]> * recoverToTarget made extensible to allow multiple implementations Signed-off-by: Ashish Singh <[email protected]> * Remove PRRL after SendFileStep in Peer Recovery Signed-off-by: Ashish Singh <[email protected]> * Incorporate PR review feedback Signed-off-by: Ashish Singh <[email protected]> * Empty-Commit Signed-off-by: Ashish Singh <[email protected]> * Incorporate PR review feedback Signed-off-by: Ashish Singh <[email protected]> * Empty-Commit Signed-off-by: Ashish Singh <[email protected]> * Empty-Commit Signed-off-by: Ashish Singh <[email protected]> * Remove CHANGELOG entry as this is incremental PR Signed-off-by: Ashish Singh <[email protected]> * Incorporate PR review feedback Signed-off-by: Ashish Singh <[email protected]> Signed-off-by: Ashish Singh <[email protected]> * Enhance CheckpointState to support no-op replication (opensearch-project#5282) * CheckpointState enhanced to support no-op replication Signed-off-by: Ashish Singh <[email protected]> Co-authored-by: Bukhtawar Khan<[email protected]> Signed-off-by: Ashish Singh <[email protected]> * Add transport action for primary term validation for remote-backed indices (opensearch-project#5616) Add transport action for primary term validation for remote-backed indices Signed-off-by: Ashish Singh <[email protected]> Signed-off-by: Ashish Singh <[email protected]>
…pensearch-project#5231) (opensearch-project#5688) * Adding core changes for API to check per awareness attribute health. Signed-off-by: Nishchay Malhotra <[email protected]>
…hanges (opensearch-project#5757) * Introduce TranslogFactory for Local/Remote Translog support (opensearch-project#4172) * Introduce TranslogFactory for Local/Remote Translog support Signed-off-by: Bukhtawar Khan <[email protected]> * [Remote Translog] Introduce remote translog with upload functionality (opensearch-project#5392) * Introduce remote translog with upload functionality Signed-off-by: Gaurav Bafna <[email protected]> Co-authored-by: Bukhtawar Khan <[email protected]> * Enable creation of indices using Remote Translog (opensearch-project#5638) * Enable creation of indices using Remote Translog behind a setting and feature flag Signed-off-by: Gaurav Bafna <[email protected]> * [Remote Translog] Add support for downloading files from remote translog (opensearch-project#5649) * Add support to download translog from remote store during recovery Signed-off-by: Sachin Kale <[email protected]> * Integrate remote translog download on failover (opensearch-project#5699) * Integrate remote translog download on failover Signed-off-by: Ashish Singh <[email protected]> Signed-off-by: Bukhtawar Khan <[email protected]> Signed-off-by: Gaurav Bafna <[email protected]> Signed-off-by: Sachin Kale <[email protected]> Signed-off-by: Ashish Singh <[email protected]>
…h-project#5758) * fix graph filter out of bound error Signed-off-by: Mingshi Liu <[email protected]> * add changelog Signed-off-by: Mingshi Liu <[email protected]> * run gradle spotlessApply Signed-off-by: Mingshi Liu <[email protected]> * reproduce error in unit test Signed-off-by: Mingshi Liu <[email protected]> * format to pass spotlessApply Signed-off-by: Mingshi Liu <[email protected]> * organize package Signed-off-by: Mingshi Liu <[email protected]> Signed-off-by: Mingshi Liu <[email protected]> (cherry picked from commit 6a7a9a1) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Mingshi Liu <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#5733) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
… weights in the response (opensearch-project#5680) * Add support for discovered master and remove local weights in the weighted routing API response Signed-off-by: Anshu Agarwal <[email protected]>
* Support API versioning for weighted shard routing Signed-off-by: Anshu Agarwal <[email protected]>
…pensearch-project#5072) * Fail open requests on search shard failures ( Signed-off-by: Anshu Agarwal <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Backport PR for weighted routing changes
Issues Resolved
[List any issues this PR will resolve]
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.