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

Java high-level REST client bulk() is not respecting the bulkRequest.requireAlias(true) method call #14136

Closed
wants to merge 143 commits into from

Conversation

parv0201
Copy link
Contributor

@parv0201 parv0201 commented Jun 10, 2024

Description

Java high-level REST client bulk() is not respecting the bulkRequest.requireAlias(true) method call

Related Issues

Resolves #12958

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@reta
Copy link
Collaborator

reta commented Jun 10, 2024

Thank you @parv0201 !

Copy link
Contributor

❌ Gradle check result for 4afcc30: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for ae3537e: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta
Copy link
Collaborator

reta commented Jun 10, 2024

@parv0201 could you please rebase against latest main? (your branch is quite far behind)

ansjcy and others added 18 commits June 10, 2024 18:15
* Query-level resource usages tracking

Signed-off-by: Chenyang Ji <[email protected]>

* Moving TaskResourceTrackingService to clusterService

Signed-off-by: Chenyang Ji <[email protected]>

* use shard response header to piggyback task resource usages

Signed-off-by: Chenyang Ji <[email protected]>

* split changes for query insights plugin

Signed-off-by: Chenyang Ji <[email protected]>

* improve the supplier logic and other misc items

Signed-off-by: Chenyang Ji <[email protected]>

* track resource usage for failed requests

Signed-off-by: Chenyang Ji <[email protected]>

* move resource usages interactions into TaskResourceTrackingService

Signed-off-by: Chenyang Ji <[email protected]>

---------

Signed-off-by: Chenyang Ji <[email protected]>
…ote store (opensearch-project#13834)

* Implementation of RemoteWritableEntity for objects to uploaded to remote store

Signed-off-by: Sooraj Sinha <[email protected]>
* Blobstore transfer of cluster metadata from the underlying input stream

Signed-off-by: Sooraj Sinha <[email protected]>
…art of opensearch-project#12333 (opensearch-project#13926)

* Retaining the old constructors for classes marked as API changed as part of opensearch-project#12333
---------
Signed-off-by: Harsh Garg <[email protected]>
Co-authored-by: Harsh Garg <[email protected]>
…roject#13994)

* Adds support to provide tags with value in Gauge metric

Signed-off-by: Gagan Juneja <[email protected]>

* Adds support to provide tags with value in Gauge metric

Signed-off-by: Gagan Juneja <[email protected]>

* Adds support to provide tags with value in Gauge metric

Signed-off-by: Gagan Juneja <[email protected]>

* Adds build issue

Signed-off-by: Gagan Juneja <[email protected]>

* Fix compilation issue

Signed-off-by: Gagan Juneja <[email protected]>

* Empty-Commit

Signed-off-by: Gagan Juneja <[email protected]>

* Empty-Commit

Signed-off-by: Gagan Juneja <[email protected]>

---------

Signed-off-by: Gagan Juneja <[email protected]>
Signed-off-by: Gagan Juneja <[email protected]>
Co-authored-by: Gagan Juneja <[email protected]>
* Move Remote Store Migration from DocRep to GA.
Modify remote store migration setting name.

Signed-off-by: Gaurav Bafna <[email protected]>

* Modify changelog

Signed-off-by: Gaurav Bafna <[email protected]>

* fixing a test

Signed-off-by: Gaurav Bafna <[email protected]>

---------

Signed-off-by: Gaurav Bafna <[email protected]>
* Create serde utility for Writable classes

Signed-off-by: Sooraj Sinha <[email protected]>
* Add remote state publication transport call

Signed-off-by: Sooraj Sinha <[email protected]>

* Add publication flag and remote routing table check

Signed-off-by: Himshikha Gupta <[email protected]>
…s/repository-azure (opensearch-project#14128)

* Bump com.azure:azure-core-http-netty in /plugins/repository-azure

Bumps [com.azure:azure-core-http-netty](https://github.com/Azure/azure-sdk-for-java) from 1.12.8 to 1.15.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-core-http-netty_1.12.8...azure-core-http-netty_1.15.1)

---
updated-dependencies:
- dependency-name: com.azure:azure-core-http-netty
  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: Andriy Redko <[email protected]>

---------

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>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Removing second use of the `frequentyl()` function. This function is alraedy used in the
beginning of the testing block immediately after the declaration of `jvmStats` variable.
The second use of the `frequently()` could cause all the other variables that were carefully
prepared for the constructor to not be used at all.

Signed-off-by: Lukáš Vlček <[email protected]>
…ct#14126)

* Bump tim-actions/get-pr-commits from 1.1.0 to 1.3.1

Bumps [tim-actions/get-pr-commits](https://github.com/tim-actions/get-pr-commits) from 1.1.0 to 1.3.1.
- [Release notes](https://github.com/tim-actions/get-pr-commits/releases)
- [Commits](tim-actions/get-pr-commits@v1.1.0...v1.3.1)

---
updated-dependencies:
- dependency-name: tim-actions/get-pr-commits
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
@reta
Copy link
Collaborator

reta commented Jun 10, 2024

@parv0201 uh, something went really not well ...

@github-actions github-actions bot added bug Something isn't working Clients Clients within the Core repository such as High level Rest client and low level client good first issue Good for newcomers labels Jun 10, 2024
@parv0201
Copy link
Contributor Author

I have opened new Pull Request for this change - #14146
We can close this one

@reta reta closed this Jun 10, 2024
Copy link
Contributor

❌ Gradle check result for 589e751: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

✅ Gradle check result for 257a82e: SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Clients Clients within the Core repository such as High level Rest client and low level client good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Java high-level REST client bulk() is not respecting the bulkRequest.requireAlias(true) method call