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

KNOX-2368 - CM Cluster Configuration Monitor Does Not Support Rolling… #333

Merged
merged 1 commit into from Apr 30, 2020

Conversation

pzampino
Copy link
Contributor

… Restart Events

What changes were proposed in this pull request?

Added cluster config monitor support for rolling restarts of individual services and complete clusters. This also fixes a previously-introduced defect whereby the monitor would recognize relevant events whose status is STARTED, which would result in false-positive inclusion of events that would trigger configuration analysis. All the relevant commands have status value of SUCCEEDED once they've successfully completed. Since the "Rolling Restart" option is disabled in the CM cluster against which I've tested, the implementation and associated test of that behavior is entirely based on log content that exposed the need for this PR.

How was this patch tested?

Refactored and augmented PollingConfigurationAnalyzerTest, and manually tested all the supported scenarios (except rolling CLUSTER restart).

Copy link
Contributor

@smolnar82 smolnar82 left a comment

Choose a reason for hiding this comment

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

LGTM

@pzampino pzampino merged commit 57184ab into apache:master Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants