Skip to content

[Backport 2.x] Handle canMatchSearchAfter for frozen context scenario #11249#11286

Closed
gashutos wants to merge 1648 commits intoopensearch-project:mainfrom
gashutos:2.x.1
Closed

[Backport 2.x] Handle canMatchSearchAfter for frozen context scenario #11249#11286
gashutos wants to merge 1648 commits intoopensearch-project:mainfrom
gashutos:2.x.1

Conversation

@gashutos
Copy link
Copy Markdown
Contributor

Backport of #11249

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

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.

opensearch-trigger-bot bot and others added 30 commits September 8, 2023 17:16
…dle simulation (opensearch-project#9915) (opensearch-project#9949)

(cherry picked from commit 5c3d26d)

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
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>
…ject#9948)

This plugin has been moved to its own [repository][1].

[1]: https://github.com/opensearch-project/custom-codecs

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 5ad472f)
Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
… (opensearch-project#9960)

Instead of appending a new comment every time check compatibility runs,
this will instead update a single comment with the latest results. The
history of previous runs is retained in the comment as GitHub allows you
to view the edited revisions of any comment. This matches the behavior
of the codecov workflow and should substantially reduce noise in PRs.

Relates opensearch-project#9699


(cherry picked from commit c100c0c)

Signed-off-by: Andrew Ross <andrross@amazon.com>
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>
…#9961)

* fixing javadoc of org.opensearch.cli.Terminal



* fixing javadoc of org.opensearch.cli.ExitCodes



* fixing javadoc



* fixing a mishap in formatting rule



---------


(cherry picked from commit 77f0df3)

Signed-off-by: Laurent Laborde <kerdezixe@gmail.com>
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#9979)

Update changelog.

Signed-off-by: Austin Lee <austin@aryn.ai>
(cherry picked from commit 04f90dc)
…earch-project#9973) (opensearch-project#9978)

(cherry picked from commit 05544ae)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…ct#9965) (opensearch-project#9989)

(cherry picked from commit 18ac060)

Signed-off-by: Sooraj Sinha <soosinha@amazon.com>
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>
…ject#9998)

(cherry picked from commit 0566926)

Signed-off-by: Louis Chu <clingzhi@amazon.com>
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#9980)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit b90a888)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…peTestCase annotation (opensearch-project#9916) (opensearch-project#10002)

Signed-off-by: Neetika Singhal <neetiks@amazon.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 8e5e54b)
opensearch-project#10007)

(cherry picked from commit 443cfca)

Signed-off-by: Neetika Singhal <neetiks@amazon.com>
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>
…project#10010) (opensearch-project#10033)

(cherry picked from commit 1eb8b3a)

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
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#10034)

(cherry picked from commit 8b1ab23)

Signed-off-by: Neetika Singhal <neetiks@amazon.com>
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#10035)

(cherry picked from commit d2ca926)

Signed-off-by: Neetika Singhal <neetiks@amazon.com>
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#9725) (opensearch-project#10043)

* Fix ignore_missing parameter has no effect when using template snippet in rename ingest processor



* Small change




---------




(cherry picked from commit 921cd0c)

Signed-off-by: Gao Binlong <gbinlong@amazon.com>
Signed-off-by: gaobinlong <gbl_long@163.com>
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>
Co-authored-by: Andriy Redko <drreta@gmail.com>
opensearch-project#10041)

(cherry picked from commit 28724ce)
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>
)

* Fixing javadoc error
fixing javadoc error and warning
javadoc for org.opensearch.core.indices.breaker
javadoc for org.opensearch.core.index.shard.ShardId
javadoc for org.opensearch.core.index.Index
fixing a mishap in formatting rule
fixing javadoc of org.opensearch.cli.Terminal



* removing unsupported @ImplNote



* Update libs/common/src/main/java/org/opensearch/common/collect/Iterators.java




* Update libs/compress/src/main/java/org/opensearch/compress/ZstdCompressor.java




* Apply suggestions from code review




* Apply suggestions from code review




* Apply suggestions from code review




* Apply suggestions from code review




* Update CollectionUtils.java



* fixing javadoc warnings



* remove useless p tag



* removing a p tag




* proper capitalization




---------



(cherry picked from commit 71f6136)

Signed-off-by: Laurent Laborde <kerdezixe@gmail.com>
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>
Co-authored-by: Andriy Redko <drreta@gmail.com>
…10042) (opensearch-project#10072)

* Add instrumentation to transport service



* Add instrumentation to transport service



* Add javadoc



---------

Signed-off-by: Gagan Juneja <gjjuneja@amazon.com>
Co-authored-by: Gagan Juneja <gjjuneja@amazon.com>
…oject#9441) (opensearch-project#10062)

* Parameterize ITs to run with concurrent search enabled



* Address PR Changes



* Address PR Comments



---------



(cherry picked from commit 7d1fa7d)

Signed-off-by: Harish Bhakuni <hbhakuni@amazon.com>
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>
Co-authored-by: Harish Bhakuni <hbhakuni@amazon.com>
opensearch-project#10012) (opensearch-project#10074)

(cherry picked from commit 4a4a8fa)

Signed-off-by: Sachin Kale <kalsac@amazon.com>
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>
…oads (opensearch-project#9887) (opensearch-project#10068)

* Fix flaky behavior of RemoteStoreRestoreIT.testRateLimitedRemoteDownloads


(cherry picked from commit 74fcaab)

Signed-off-by: Sachin Kale <kalsac@amazon.com>
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>
…rted field indices (opensearch-project#10075)

* Fix broken backward compatibility from 2.7 for IndexSorted field indices (opensearch-project#10045)

* Fix broken backward comparibility from 2.7 for IndexSorted field indices

Signed-off-by: gashutos <gashutos@amazon.com>

* Adding CHANGELOG

Signed-off-by: gashutos <gashutos@amazon.com>

* Update server/src/main/java/org/opensearch/index/IndexSettings.java

Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Chaitanya Gohel <104654647+gashutos@users.noreply.github.com>

* Removing unwanted logs

Signed-off-by: gashutos <gashutos@amazon.com>

* Removing unwanted logs

Signed-off-by: gashutos <gashutos@amazon.com>

* Adding index sort as part of mixed cluster to test this scenario

Signed-off-by: gashutos <gashutos@amazon.com>

* Removing optimization disable logic

Signed-off-by: gashutos <gashutos@amazon.com>

* Correcting some comments & version check to before( V_2_7_0) instead onOrBefire(V_2_6_1) since

Signed-off-by: gashutos <gashutos@amazon.com>

* Resolving spotless check error

Signed-off-by: gashutos <gashutos@amazon.com>

* Fixing broken UT - last minute checkin without copile

Signed-off-by: gashutos <gashutos@amazon.com>

* Improving code coverage to make codcov happy

Signed-off-by: gashutos <gashutos@amazon.com>

* Correcting typos and adding more tests

Signed-off-by: gashutos <gashutos@amazon.com>

* Removing unwanted imports

Signed-off-by: gashutos <gashutos@amazon.com>

---------

Signed-off-by: gashutos <gashutos@amazon.com>
Signed-off-by: Chaitanya Gohel <104654647+gashutos@users.noreply.github.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
(cherry picked from commit d34b352)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Finxing broken UT (opensearch-project#10087)

Signed-off-by: Gohel <gashutos@88665a2fc937.ant.amazon.com>
Co-authored-by: Gohel <gashutos@88665a2fc937.ant.amazon.com>
(cherry picked from commit d7aa6dd)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

---------

Signed-off-by: gashutos <gashutos@amazon.com>
Signed-off-by: Chaitanya Gohel <104654647+gashutos@users.noreply.github.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Gohel <gashutos@88665a2fc937.ant.amazon.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Chaitanya Gohel <104654647+gashutos@users.noreply.github.com>
Co-authored-by: Gohel <gashutos@88665a2fc937.ant.amazon.com>
…store (opensearch-project#9636) (opensearch-project#10102)

(cherry picked from commit b5cc002)

Signed-off-by: Ashish Singh <ssashish@amazon.com>
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>
…earch-project#10092)

* Add async read support for S3 plugin


(cherry picked from commit 03ddc8a)


* Move functionality to S3BlobContainer



---------


(cherry picked from commit 70a582f)

Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
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>
…ect#10109)

* Bump peter-evans/create-or-update-comment from 2 to 3 (opensearch-project#9575)

* Bump peter-evans/create-or-update-comment from 2 to 3

Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](peter-evans/create-or-update-comment@v2...v3)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 1c8d171)

* Bump actions/checkout from 2 to 4 (opensearch-project#9968)

* Bump actions/checkout from 2 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 b7dbf46)

* Bump org.apache.commons:commons-compress in /test/fixtures/hdfs-fixture (opensearch-project#9972)

Bumps org.apache.commons:commons-compress from 1.23.0 to 1.24.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 7e07023)

* Bump com.google.cloud:google-cloud-core-http from 2.21.1 to 2.23.0 in /plugins/repository-gcs (opensearch-project#9971)

* Bump com.google.cloud:google-cloud-core-http in /plugins/repository-gcs

Bumps com.google.cloud:google-cloud-core-http from 2.21.1 to 2.23.0.

---
updated-dependencies:
- dependency-name: com.google.cloud:google-cloud-core-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 c261cff)

* Bump mockito and bytebuddy (opensearch-project#10022)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit bc40428)

* Bump com.zaxxer:SparseBitSet from 1.2 to 1.3 in /plugins/ingest-attachment (opensearch-project#10098)

* Bump com.zaxxer:SparseBitSet in /plugins/ingest-attachment

Bumps [com.zaxxer:SparseBitSet](https://github.com/brettwooldridge/SparseBitSet) from 1.2 to 1.3.
- [Commits](brettwooldridge/SparseBitSet@SparseBitSet-1.2...SparseBitSet-1.3)

---
updated-dependencies:
- dependency-name: com.zaxxer:SparseBitSet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 5b864c0)

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
…nsearch-project#10115)

* Fix clusterUUID chaining logic


(cherry picked from commit 2a5b124)

Signed-off-by: Sooraj Sinha <soosinha@amazon.com>
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>
…ct#7008) (opensearch-project#10130)

This error message is no longer relevant and should not be used now.

Closes: opensearch-project#7007


(cherry picked from commit 2f7969a)

Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
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>
…t#10140) (opensearch-project#10146)

(cherry picked from commit 9b5bf5f)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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>
@github-actions
Copy link
Copy Markdown
Contributor

Compatibility status:

Checks if related components are compatible with change 743345d

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/performance-analyzer-rca.git]

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 743345d: SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.