Skip to content

fix test - RemoteIndexPrimaryRelocationIT.testPrimaryRelocationWhileI…#9806

Closed
linuxpi wants to merge 1 commit intoopensearch-project:mainfrom
linuxpi:fix-primary-relocation-setup-issue
Closed

fix test - RemoteIndexPrimaryRelocationIT.testPrimaryRelocationWhileI…#9806
linuxpi wants to merge 1 commit intoopensearch-project:mainfrom
linuxpi:fix-primary-relocation-setup-issue

Conversation

@linuxpi
Copy link
Copy Markdown
Contributor

@linuxpi linuxpi commented Sep 6, 2023

…ndexing

Description

  • Fixes the IT - org.opensearch.remotestore.RemoteIndexPrimaryRelocationIT#testPrimaryRelocationWhileIndexing

Related Issues

NA

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)

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.

…ndexing

Signed-off-by: bansvaru <bansvaru@amazon.com>
protected Settings nodeSettings(int nodeOrdinal) {
return Settings.builder()
.put(super.nodeSettings(nodeOrdinal))
.put(remoteStoreClusterSettings(REPOSITORY_NAME, absolutePath))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this will lead to creating a normal cluster and not remote store, wondering why never failed in #9105 while the PR was raised with latest main.

Will validate once and try to raise a PR with fix.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 6, 2023

Compatibility status:

Checks if related components are compatible with change e123630

Incompatible components

Incompatible components: [https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/cross-cluster-replication.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 6, 2023

Gradle Check (Jenkins) Run Completed with:

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants