Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into fix_alias
Browse files Browse the repository at this point in the history
  • Loading branch information
gaobinlong committed Jan 8, 2024
2 parents b8c8791 + 89e4727 commit 97f3ff0
Show file tree
Hide file tree
Showing 94 changed files with 64 additions and 49 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Add additional handling in SearchTemplateRequest when simulate is set to true ([#11591](https://github.com/opensearch-project/OpenSearch/pull/11591))
- Introduce cluster level setting `cluster.index.restrict.replication.type` to prevent replication type setting override during index creations([#11583](https://github.com/opensearch-project/OpenSearch/pull/11583))
- Add match_only_text field that is optimized for storage by trading off positional queries performance ([#6836](https://github.com/opensearch-project/OpenSearch/pull/11039))
- Introduce new feature flag "WRITEABLE_REMOTE_INDEX" to gate the writeable remote index functionality ([#11717](https://github.com/opensearch-project/OpenSearch/pull/11170))

### Dependencies
- Bumps jetty version to 9.4.52.v20230823 to fix GMS-2023-1857 ([#9822](https://github.com/opensearch-project/OpenSearch/pull/9822))
Expand All @@ -139,7 +140,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Bump `stefanzweifel/git-auto-commit-action` from 4 to 5 ([#11171](https://github.com/opensearch-project/OpenSearch/pull/11171))
- Bump `actions/github-script` from 6 to 7 ([#11271](https://github.com/opensearch-project/OpenSearch/pull/11271))
- Bump `jackson` and `jackson_databind` from 2.15.2 to 2.16.0 ([#11273](https://github.com/opensearch-project/OpenSearch/pull/11273))
- Bump `netty` from 4.1.100.Final to 4.1.101.Final ([#11294](https://github.com/opensearch-project/OpenSearch/pull/11294))
- Bump `netty` from 4.1.100.Final to 4.1.104.Final ([#11294](https://github.com/opensearch-project/OpenSearch/pull/11294), [#11775](https://github.com/opensearch-project/OpenSearch/pull/11775))
- Bump `com.avast.gradle:gradle-docker-compose-plugin` from 0.16.12 to 0.17.6 ([#10163](https://github.com/opensearch-project/OpenSearch/pull/10163), [#11692](https://github.com/opensearch-project/OpenSearch/pull/11692))
- Bump `com.squareup.okhttp3:okhttp` from 4.11.0 to 4.12.0 ([#10861](https://github.com/opensearch-project/OpenSearch/pull/10861))
- Bump `org.apache.commons:commons-text` from 1.10.0 to 1.11.0 ([#11344](https://github.com/opensearch-project/OpenSearch/pull/11344))
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jakarta_annotation = 1.3.5
# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 5.13.0

netty = 4.1.101.Final
netty = 4.1.104.Final
joda = 2.12.2

# project reactor
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
756797174b94a3aee11ce83522473f3c18287a43

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f51fcfd3baac88b2c0b8dc715932ad5622d17429

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2db1556de1b8dc07695604bf51a0a133263ad63f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5bb757929f7c4d1bf12740a378a99643caaad1ac

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ec5fc4a7c5475eb20805e14f7274aa28872b5ba1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18c0e659950cdef5f12c36eccfa14cbd2ad2049d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfa4fe5c3a6eabb7af09902eb63266829876d8a2

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
da7b263b6fedc5add70e78ee8927c8bd2b9bb589

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4da9f7237ac3ac292891e0b2d5364acbce128cf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8e237ce67ab230ed1ba749d6651b278333c21b3f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5bb757929f7c4d1bf12740a378a99643caaad1ac

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5b126ceba61275f38297cacd5ea0cd6d3addee04

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
50a2d899a8f8a68daed1a9b6d7750184310cc45f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f1210e5856fecb9182d58c0d33fa6e946b344b40

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4da9f7237ac3ac292891e0b2d5364acbce128cf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d75246285e5fac6f6dad47e387ed4f46f36e521d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
756797174b94a3aee11ce83522473f3c18287a43

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f51fcfd3baac88b2c0b8dc715932ad5622d17429

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2db1556de1b8dc07695604bf51a0a133263ad63f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5bb757929f7c4d1bf12740a378a99643caaad1ac

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ec5fc4a7c5475eb20805e14f7274aa28872b5ba1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18c0e659950cdef5f12c36eccfa14cbd2ad2049d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfa4fe5c3a6eabb7af09902eb63266829876d8a2

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
da7b263b6fedc5add70e78ee8927c8bd2b9bb589

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
700fdbabab44709b0eccffe8f91c4226a5787356

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4da9f7237ac3ac292891e0b2d5364acbce128cf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
756797174b94a3aee11ce83522473f3c18287a43

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f51fcfd3baac88b2c0b8dc715932ad5622d17429

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2db1556de1b8dc07695604bf51a0a133263ad63f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ec5fc4a7c5475eb20805e14f7274aa28872b5ba1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18c0e659950cdef5f12c36eccfa14cbd2ad2049d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfa4fe5c3a6eabb7af09902eb63266829876d8a2

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
da7b263b6fedc5add70e78ee8927c8bd2b9bb589

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
756797174b94a3aee11ce83522473f3c18287a43

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f51fcfd3baac88b2c0b8dc715932ad5622d17429

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8e237ce67ab230ed1ba749d6651b278333c21b3f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2db1556de1b8dc07695604bf51a0a133263ad63f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5bb757929f7c4d1bf12740a378a99643caaad1ac

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ec5fc4a7c5475eb20805e14f7274aa28872b5ba1

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18c0e659950cdef5f12c36eccfa14cbd2ad2049d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dfa4fe5c3a6eabb7af09902eb63266829876d8a2

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f1210e5856fecb9182d58c0d33fa6e946b344b40

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
da7b263b6fedc5add70e78ee8927c8bd2b9bb589

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4da9f7237ac3ac292891e0b2d5364acbce128cf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
setup:
- skip:
features: [ "headers" ]
version: " - 2.99.99"
reason: "searching with only doc_values was added in 3.0.0"
version: " - 2.11.99"
reason: "searching with only doc_values was added in 2.12.0"
---
"search on fields with both index and doc_values enabled":
- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ public void testAwarenessZonesIncrementalNodes() {
assertThat(counts.get(noZoneNode), equalTo(2));
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/5908")
public void testThreeZoneOneReplicaWithForceZoneValueAndLoadAwareness() throws Exception {
int nodeCountPerAZ = 5;
int numOfShards = 30;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ protected FeatureFlagSettings(
FeatureFlags.IDENTITY_SETTING,
FeatureFlags.CONCURRENT_SEGMENT_SEARCH_SETTING,
FeatureFlags.TELEMETRY_SETTING,
FeatureFlags.DATETIME_FORMATTER_CACHING_SETTING
FeatureFlags.DATETIME_FORMATTER_CACHING_SETTING,
FeatureFlags.WRITEABLE_REMOTE_INDEX_SETTING
)
)
);
Expand Down
12 changes: 12 additions & 0 deletions server/src/main/java/org/opensearch/common/util/FeatureFlags.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ public class FeatureFlags {
*/
public static final String DATETIME_FORMATTER_CACHING = "opensearch.experimental.optimization.datetime_formatter_caching.enabled";

/**
* Gates the functionality of writeable remote index
* Once the feature is ready for release, this feature flag can be removed.
*/
public static final String WRITEABLE_REMOTE_INDEX = "opensearch.experimental.feature.writeable_remote_index.enabled";

/**
* Should store the settings from opensearch.yml.
*/
Expand Down Expand Up @@ -122,4 +128,10 @@ public static boolean isEnabled(Setting<Boolean> featureFlag) {
true,
Property.NodeScope
);

public static final Setting<Boolean> WRITEABLE_REMOTE_INDEX_SETTING = Setting.boolSetting(
WRITEABLE_REMOTE_INDEX,
false,
Property.NodeScope
);
}

0 comments on commit 97f3ff0

Please sign in to comment.