Skip to content

[Backport 2.x] Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API#10478

Merged
dblock merged 1 commit into
opensearch-project:2.xfrom
gaobinlong:backport/backport-10101-to-2.x
Oct 13, 2023
Merged

[Backport 2.x] Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API#10478
dblock merged 1 commit into
opensearch-project:2.xfrom
gaobinlong:backport/backport-10101-to-2.x

Conversation

@gaobinlong
Copy link
Copy Markdown
Contributor

@gaobinlong gaobinlong commented Oct 7, 2023

Description

Backport #10101.

Related Issues

#10097

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 7, 2023

Compatibility status:

Checks if related components are compatible with change 71b950f

Incompatible components

Skipped components

Compatible components

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 7, 2023

Gradle Check (Jenkins) Run Completed with:

@gaobinlong gaobinlong changed the title Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API [Backport 2.x] Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API Oct 7, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 7, 2023

Gradle Check (Jenkins) Run Completed with:

@dblock
Copy link
Copy Markdown
Member

dblock commented Oct 10, 2023

Please look through gradle check failures/update GH issues for flakes (likely unrelated to your change), force push to retry gradle checks.

…ata fields in ingest simulate API (opensearch-project#10101)

* Fix class_cast_exception when passing int to _version and other metadata fields in ingest simulate API

Signed-off-by: Gao Binlong <gbinlong@amazon.com>

* modify change log

Signed-off-by: Gao Binlong <gbinlong@amazon.com>

* Add more tests

Signed-off-by: Gao Binlong <gbinlong@amazon.com>

---------

Signed-off-by: Gao Binlong <gbinlong@amazon.com>
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
(cherry picked from commit fdaa438)
@gaobinlong gaobinlong force-pushed the backport/backport-10101-to-2.x branch from 6590390 to 71b950f Compare October 11, 2023 08:28
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@gaobinlong
Copy link
Copy Markdown
Contributor Author

gaobinlong commented Oct 11, 2023

@dblock thanks for your review, I think the failed tests due to I incorrectly merged the main branch into the backport branch, I've forced push the branch, now all tests have passed, please help to approve this PR.

@dblock dblock merged commit e6cb386 into opensearch-project:2.x Oct 13, 2023
@gaobinlong gaobinlong deleted the backport/backport-10101-to-2.x branch June 19, 2024 15:21
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.

2 participants