Skip to content

Commit 1919913

Browse files
author
Isha Gupta
committed
Fix issue with case-insensitive + wildcard + aggregation query
Signed-off-by: Isha Gupta <igupta24@apple.com>
2 parents 3efbfa1 + 8a1c55f commit 1919913

File tree

253 files changed

+11266
-1087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+11266
-1087
lines changed

.ci/bwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ BWC_VERSION:
5050
- "3.0.0"
5151
- "3.1.0"
5252
- "3.2.0"
53+
- "3.3.0"

.github/workflows/gradle-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122

123123
- name: Create Comment Success
124124
if: ${{ github.event_name == 'pull_request_target' && success() && env.result == 'SUCCESS' }}
125-
uses: peter-evans/create-or-update-comment@v4
125+
uses: peter-evans/create-or-update-comment@v5
126126
with:
127127
issue-number: ${{ env.pr_number }}
128128
body: |
@@ -145,7 +145,7 @@ jobs:
145145
146146
- name: Create Comment Flaky
147147
if: ${{ github.event_name == 'pull_request_target' && success() && env.result != 'SUCCESS' }}
148-
uses: peter-evans/create-or-update-comment@v4
148+
uses: peter-evans/create-or-update-comment@v5
149149
with:
150150
issue-number: ${{ env.pr_number }}
151151
body: |
@@ -155,7 +155,7 @@ jobs:
155155
156156
- name: Create Comment Failure
157157
if: ${{ github.event_name == 'pull_request_target' && failure() }}
158-
uses: peter-evans/create-or-update-comment@v4
158+
uses: peter-evans/create-or-update-comment@v5
159159
with:
160160
issue-number: ${{ env.pr_number }}
161161
body: |

.github/workflows/poc-checklist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
issues: write
1212
steps:
1313
- name: Add comment
14-
uses: peter-evans/create-or-update-comment@v4
14+
uses: peter-evans/create-or-update-comment@v5
1515
with:
1616
issue-number: ${{ github.event.issue.number }}
1717
body: |

CHANGELOG.md

Lines changed: 12 additions & 132 deletions
Large diffs are not rendered by default.

MAINTAINERS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
2020
| Binlong Gao | [gaobinlong](https://github.com/gaobinlong) | Amazon |
2121
| Gaurav Bafna | [gbbafna](https://github.com/gbbafna) | Amazon |
2222
| Jay Deng | [jed326](https://github.com/jed326) | Amazon |
23+
| Karen Xu | [karenyrx](https://github.com/karenyrx) | Uber |
2324
| Ke Wei | [kkewwei](https://github.com/kkewwei) | ByteDance |
2425
| Kunal Kotwani | [kotwanikunal](https://github.com/kotwanikunal) | Amazon |
2526
| Varun Bansal | [linuxpi](https://github.com/linuxpi) | Amazon |
@@ -36,6 +37,7 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
3637
| Sarat Vemulapalli | [saratvemulapalli](https://github.com/saratvemulapalli) | Amazon |
3738
| Shweta Thareja | [shwetathareja](https://github.com/shwetathareja) | Amazon |
3839
| Sorabh Hamirwasia | [sohami](https://github.com/sohami) | Amazon |
40+
| Varun Bharadwaj | [varunbharadwaj](https://github.com/varunbharadwaj) | Uber |
3941
| Yupeng Fu | [yupeng9](https://github.com/yupeng9) | Uber |
4042

4143
## Emeritus

TESTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,16 @@ To run OpenSearch in debug mode,
8080

8181
This will instruct all JVMs (including any that run cli tools such as creating the keyring or adding users) to suspend and initiate a debug connection on port incrementing from `5005`. As such, the IDE needs to be instructed to listen for connections on this port. Since we might run multiple JVMs as part of configuring and starting the cluster, it's recommended to configure the IDE to initiate multiple listening attempts. In case of IntelliJ, this option is called "Auto restart" and needs to be checked. In case of Eclipse, "Connection limit" setting needs to be configured with a greater value (ie 10 or more).
8282

83+
Alternately, you can configure your OpenSearch JVM to listen as a debug server on port `5005`, and attach a debugger IDE once opensearch JVM is up and running. Use `./gradlew run --debug-server-jvm` for this debugging setup.
84+
8385
### Other useful arguments
8486

8587
- In order to start a node with a different max heap space add: `-Dtests.heap.size=4G`
8688
- In order to disable assertions add: `-Dtests.asserts=false`
8789
- In order to use a custom data directory: `--data-dir=/tmp/foo`
8890
- In order to preserve data in between executions: `--preserve-data`
89-
- In order to remotely attach a debugger to the process: `--debug-jvm`
91+
- In order to start opensearch as a debug server and remotely attach a debugger client (like an IDE debugger): `--debug-server-jvm`
92+
- In order to start and attach opensearch process to an existing debug server: `--debug-jvm`
9093
- In order to set a different keystore password: `--keystore-password yourpassword`
9194
- In order to set an OpenSearch setting, provide a setting with the following prefix: `-Dtests.opensearch.`
9295
- In order to enable stack trace of the MockSpanData during testing, add: `-Dtests.telemetry.span.stack_traces=true` (Storing stack traces alongside span data can be useful for comprehensive debugging and performance optimization during testing, as it provides insights into the exact code paths and execution sequences, facilitating efficient issue identification and resolution. Note: Enabling this might lead to OOM issues while running ITs)

buildSrc/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Please use ../gradle/libs.versions.toml for dependency management
2-
opensearch = 3.3.0
2+
opensearch = 3.4.0

distribution/src/config/jvm.options

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ ${error.file}
8686

8787
21-:-javaagent:agent/opensearch-agent.jar
8888
21-:--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED
89+
90+
# For cases with high memory-mapped file counts, a lower value can improve stability and
91+
# prevent issues like "leaked" maps or performance degradation. A value of 1 effectively
92+
# disables the shared Arena pooling and uses a confined Arena for each MMapDirectory
93+
-Dorg.apache.lucene.store.MMapDirectory.sharedArenaMaxPermits=1

gradle/libs.versions.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
2-
opensearch = "3.3.0"
3-
lucene = "10.3.0"
2+
opensearch = "3.4.0"
3+
lucene = "10.3.1"
44

55
bundled_jdk_vendor = "adoptium"
66
bundled_jdk = "24.0.2+12"
@@ -29,7 +29,7 @@ google_http_client = "1.44.1"
2929
google_auth = "1.29.0"
3030
tdigest = "3.3"
3131
hdrhistogram = "2.2.2"
32-
grpc = "1.68.2"
32+
grpc = "1.75.0"
3333
json_smart = "2.5.2"
3434

3535
# when updating the JNA version, also update the version in buildSrc/build.gradle
@@ -54,6 +54,7 @@ commonscodec = "1.18.0"
5454
commonslang = "3.18.0"
5555
commonscompress = "1.28.0"
5656
commonsio = "2.16.0"
57+
commonscollections4 = "4.5.0"
5758
# plugin dependencies
5859
aws = "2.32.29"
5960
awscrt = "0.35.0"

libs/core/licenses/lucene-core-10.3.0.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)