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

Removed log entry regarding destination migration #1356

Merged

Conversation

riysaxen-amzn
Copy link
Collaborator

@riysaxen-amzn riysaxen-amzn commented Dec 29, 2023

*Issue #1183 *

*There was a specific log that keeps on appearing quite frequently on all OpenSearch clusters (even fresh installations).

[INFO ][o.o.a.u.d.DestinationMigrationCoordinator] [my-node-name] Detected cluster change event for destination migration*

CheckList:

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Riya Saxena <riysaxen@amazon.com>
@riysaxen-amzn riysaxen-amzn marked this pull request as ready for review December 29, 2023 07:03
@sbcd90 sbcd90 merged commit 48e56bf into opensearch-project:main Jan 8, 2024
12 of 14 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 22, 2024
Signed-off-by: Riya Saxena <riysaxen@amazon.com>
(cherry picked from commit 48e56bf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 22, 2024
Signed-off-by: Riya Saxena <riysaxen@amazon.com>
(cherry picked from commit 48e56bf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
riysaxen-amzn pushed a commit that referenced this pull request Mar 22, 2024
(cherry picked from commit 48e56bf)

Signed-off-by: Riya Saxena <riysaxen@amazon.com>
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>
riysaxen-amzn pushed a commit that referenced this pull request Mar 22, 2024
(cherry picked from commit 48e56bf)

Signed-off-by: Riya Saxena <riysaxen@amazon.com>
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>
@riysaxen-amzn riysaxen-amzn deleted the fix-pollutingLogEntry branch April 17, 2024 17:08
@HenryTheSir
Copy link

Hi @riysaxen-amzn ,

instead of the "Detected cluster change event for destination migration!" Logline now for every cluster change event 'Cancelling the migration process.' gets logged.

Is it save to extend this else if condition

To:

} else if (!event.localNodeClusterManager() && runningLock) {

In my understanding only if the runningLock is present a Migration can/should be canceled?

best regards

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.

4 participants