Skip to content
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] Handle canMatchSearchAfter for frozen context scenario #11249 #11286

Closed
wants to merge 1,648 commits into from

Conversation

gashutos
Copy link
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 <[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>
…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 <[email protected]>
(cherry picked from commit 5ad472f)
… (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 <[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>
…#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 <[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#9979)

Update changelog.

Signed-off-by: Austin Lee <[email protected]>
(cherry picked from commit 04f90dc)
…ct#9965) (opensearch-project#9989)

(cherry picked from commit 18ac060)

Signed-off-by: Sooraj Sinha <[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>
…ject#9998)

(cherry picked from commit 0566926)

Signed-off-by: Louis Chu <[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#9980)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit b90a888)

Signed-off-by: Andriy Redko <[email protected]>
…peTestCase annotation (opensearch-project#9916) (opensearch-project#10002)

Signed-off-by: Neetika Singhal <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
(cherry picked from commit 8e5e54b)
opensearch-project#10007)

(cherry picked from commit 443cfca)

Signed-off-by: Neetika Singhal <[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>
…project#10010) (opensearch-project#10033)

(cherry picked from commit 1eb8b3a)

Signed-off-by: Kunal Kotwani <[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#10034)

(cherry picked from commit 8b1ab23)

Signed-off-by: Neetika Singhal <[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#10035)

(cherry picked from commit d2ca926)

Signed-off-by: Neetika Singhal <[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#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 <[email protected]>
Signed-off-by: gaobinlong <[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>
Co-authored-by: Andriy Redko <[email protected]>
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 <[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>
Co-authored-by: Andriy Redko <[email protected]>
…10042) (opensearch-project#10072)

* Add instrumentation to transport service



* Add instrumentation to transport service



* Add javadoc



---------

Signed-off-by: Gagan Juneja <[email protected]>
Co-authored-by: Gagan Juneja <[email protected]>
…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 <[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>
Co-authored-by: Harish Bhakuni <[email protected]>
opensearch-project#10012) (opensearch-project#10074)

(cherry picked from commit 4a4a8fa)

Signed-off-by: Sachin Kale <[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>
…oads (opensearch-project#9887) (opensearch-project#10068)

* Fix flaky behavior of RemoteStoreRestoreIT.testRateLimitedRemoteDownloads


(cherry picked from commit 74fcaab)

Signed-off-by: Sachin Kale <[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>
…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 <[email protected]>

* Adding CHANGELOG

Signed-off-by: gashutos <[email protected]>

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

Co-authored-by: Andriy Redko <[email protected]>
Signed-off-by: Chaitanya Gohel <[email protected]>

* Removing unwanted logs

Signed-off-by: gashutos <[email protected]>

* Removing unwanted logs

Signed-off-by: gashutos <[email protected]>

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

Signed-off-by: gashutos <[email protected]>

* Removing optimization disable logic

Signed-off-by: gashutos <[email protected]>

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

Signed-off-by: gashutos <[email protected]>

* Resolving spotless check error

Signed-off-by: gashutos <[email protected]>

* Fixing broken UT - last minute checkin without copile

Signed-off-by: gashutos <[email protected]>

* Improving code coverage to make codcov happy

Signed-off-by: gashutos <[email protected]>

* Correcting typos and adding more tests

Signed-off-by: gashutos <[email protected]>

* Removing unwanted imports

Signed-off-by: gashutos <[email protected]>

---------

Signed-off-by: gashutos <[email protected]>
Signed-off-by: Chaitanya Gohel <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
(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 <[email protected]>
Co-authored-by: Gohel <[email protected]>
(cherry picked from commit d7aa6dd)
Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: gashutos <[email protected]>
Signed-off-by: Chaitanya Gohel <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Gohel <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andriy Redko <[email protected]>
Co-authored-by: Chaitanya Gohel <[email protected]>
Co-authored-by: Gohel <[email protected]>
…store (opensearch-project#9636) (opensearch-project#10102)

(cherry picked from commit b5cc002)

Signed-off-by: Ashish Singh <[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>
…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 <[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>
…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] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

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 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] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

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 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] <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
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] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

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 c261cff)

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

Signed-off-by: Andriy Redko <[email protected]>
(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] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

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 5b864c0)

---------

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

* Fix clusterUUID chaining logic


(cherry picked from commit 2a5b124)

Signed-off-by: Sooraj Sinha <[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>
…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 <[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>
…t#10140) (opensearch-project#10146)

(cherry picked from commit 9b5bf5f)

Signed-off-by: Andriy Redko <[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>
Copy link
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]

Copy link
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.