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] Expose RestController all handlers iterator. (#11876) #11940

Merged

Conversation

dblock
Copy link
Member

@dblock dblock commented Jan 18, 2024

Description

Backport #11876 to 2.x.

Related Issues

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.

* Expose RestController all handlers iterator.

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

* Extract MethodHandlers interface.

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

* Added CHANGELOG.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
(cherry picked from commit 6ccb46b)
@dblock dblock force-pushed the backport/backport-11876-to-2.x branch from cb88b34 to 3ba8abe Compare January 18, 2024 22:20
@dblock dblock changed the title Expose RestController all handlers iterator. (#11876) [Backport] Expose RestController all handlers iterator. (#11876) Jan 18, 2024
@dblock dblock changed the title [Backport] Expose RestController all handlers iterator. (#11876) [Backport 2.z] Expose RestController all handlers iterator. (#11876) Jan 18, 2024
@dblock dblock changed the title [Backport 2.z] Expose RestController all handlers iterator. (#11876) [Backport 2.x] Expose RestController all handlers iterator. (#11876) Jan 18, 2024
Copy link
Contributor

❌ Gradle check result for cb88b34: 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

github-actions bot commented Jan 18, 2024

Compatibility status:

Checks if related components are compatible with change 3ba8abe

Incompatible components

Incompatible components: [https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/sql.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/security.git]

Copy link
Contributor

❌ Gradle check result for 3ba8abe: 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 3ba8abe: 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?

@dblock
Copy link
Member Author

dblock commented Jan 19, 2024

❌ Gradle check result for 3ba8abe: 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?

org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=pit/10_basic/Delete all} #9332
org.opensearch.remotestore.RemoteIndexPrimaryRelocationIT.testPrimaryRelocationWhileIndexing #9191
org.opensearch.remotestore.RemoteStoreStatsIT.testDownloadStatsCorrectnessSinglePrimaryMultipleReplicaShards #10152
org.opensearch.search.aggregations.bucket.TermsFixedDocCountErrorIT.testSliceLevelDocCountErrorMultiShard {p0={"search.concurrent_segment_search.enabled":"true"}} #11950
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterCommit #8947
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testRefreshAfterCommit #8946
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterRefresh #8638
org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterMultipleCommits #8638

@dblock
Copy link
Member Author

dblock commented Jan 19, 2024

❌ Gradle check result for 3ba8abe: 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?

#11493

Copy link
Contributor

❕ Gradle check result for 3ba8abe: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.remotestore.multipart.RemoteStoreMultipartIT.testRequestDurabilityWhenRestrictSettingExplicitFalse
      1 org.opensearch.remotestore.RemoteIndexPrimaryRelocationIT.testPrimaryRelocationWhileIndexing
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testRefreshAfterCommit
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterRefresh
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterMultipleCommits
      1 org.opensearch.index.shard.RemoteStoreRefreshListenerTests.testAfterCommit

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@dblock dblock merged commit c0581a0 into opensearch-project:2.x Jan 19, 2024
33 checks passed
@dblock dblock deleted the backport/backport-11876-to-2.x branch January 19, 2024 14:34
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