OpenSearch
OpenSearch copied to clipboard
🔎 Open source distributed and RESTful search engine.
With segment replication we would like to avoid situations replicas contain a segment that is different from the primary's version. After a read-only replica is promoted as the new primary,...
With https://github.com/opensearch-project/OpenSearch/pull/4135 and #3989, basic failover support is added for shards with segment replication enabled. However, this change does not consider what happens to ongoing or incoming copy events during...
As part of #2212, after a new primary has been selected we will need to convert its engine from an NRTReplicationEngine to InternalEngine. The logic we are looking for here...
**Is your feature request related to a problem? Please describe.** Coming from https://github.com/opensearch-project/OpenSearch/issues/2589. **Describe the solution you'd like** Change all code, parameters, APIs, and documentation to refer to "leader" nodes...
**Describe the bug** When data corruption is detected on primary, [the engine fails](https://github.com/opensearch-project/OpenSearch/blob/e7d6dcd86765c49fd6a1c43911a90a1c9dd362df/server/src/main/java/org/opensearch/index/engine/InternalEngine.java#L1889). This in turn results in [failing primary shard](https://github.com/opensearch-project/OpenSearch/blob/e7d6dcd86765c49fd6a1c43911a90a1c9dd362df/server/src/main/java/org/opensearch/indices/cluster/IndicesClusterStateService.java#L765) and [closing it](https://github.com/opensearch-project/OpenSearch/blob/e7d6dcd86765c49fd6a1c43911a90a1c9dd362df/server/src/main/java/org/opensearch/indices/cluster/IndicesClusterStateService.java#L729). Closing the shard also causes [closing](https://github.com/opensearch-project/OpenSearch/blob/e7d6dcd86765c49fd6a1c43911a90a1c9dd362df/server/src/main/java/org/opensearch/index/shard/IndexShard.java#L1383)...
Signed-off-by: Kunal Kotwani ### Description - The changes under this PR build on adding a changelog enforcer using the GHA [`Changelog Enforcer`](https://github.com/marketplace/actions/changelog-enforcer) following the [Keep A Changelog](https://keepachangelog.com/en/1.0.0/) format - What...
### Description Composite Aggregation, is a multi-bucket aggregation that creates composite buckets from different sources. Currently in OpenSearch we support [4 aggregations](https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/search/aggregations/bucket/composite/CompositeAggregationBuilder.java#L86-L89) as part of Composite Aggregation. 1. Terms Aggregation...
Backport 27c54934cde5c90ad2e4497c96fc8dc8d7fb251d from #4077
Backport 27c54934cde5c90ad2e4497c96fc8dc8d7fb251d from #4077
Add ppc64le architecture for the current architecture check. ### Description Ability to build OpenSearch on ppc64le architecture ### Issues Resolved https://github.com/opensearch-project/OpenSearch/issues/1303 ### Check List - [ ] New functionality includes...