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

Refactored ClusterCheckerTask class #352

Merged
merged 10 commits into from
Aug 11, 2016
Merged

Refactored ClusterCheckerTask class #352

merged 10 commits into from
Aug 11, 2016

Conversation

ajoymajumdar
Copy link
Contributor

  • Refactored ClusterCheckerTask class
  • Mark a node unhealthy if node status is up for all health endpoints excluding a few selected ones like genie,memory.
  • Added more error checks.

…01 error the first time. Issue was that while forwarding the request the session cookie was not forwarded.
2. Mark a node unhealthy if node status is up for all health endpoints excluding a few selected ones like genie,memory.
3. Added more error checks.
2. Mark a node unhealthy if node status is up for all health endpoints excluding a few selected ones like genie,memory.
3. Added more error checks.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 87.975% when pulling 4211b07 on ajoymajumdar:develop into d01f78f on Netflix:develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 87.975% when pulling f1629cd on ajoymajumdar:develop into be15e74 on Netflix:develop.

@@ -87,6 +97,7 @@ public ClusterCheckerTask(
@NotNull final JobPersistenceService jobPersistenceService,
@Qualifier("genieRestTemplate") @NotNull final RestTemplate restTemplate,
@NotNull final ManagementServerProperties managementServerProperties,
@Value("${genie.tasks.clusterChecker.ignoreHealthEndPoints:memory,genie}") final String ignoreHealthEndPoints,
Copy link
Contributor

Choose a reason for hiding this comment

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

There is only one endpoint I would go with healthIndicatorsToIgnore

@coveralls
Copy link

coveralls commented Aug 11, 2016

Coverage Status

Coverage decreased (-0.08%) to 87.939% when pulling b89fb16 on ajoymajumdar:develop into be15e74 on Netflix:develop.

@coveralls
Copy link

coveralls commented Aug 11, 2016

Coverage Status

Coverage decreased (-0.08%) to 87.937% when pulling f07e17f on ajoymajumdar:develop into be15e74 on Netflix:develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 87.973% when pulling a014989 on ajoymajumdar:develop into 8bbb6d0 on Netflix:develop.

@ajoymajumdar ajoymajumdar merged commit 449f95a into Netflix:develop Aug 11, 2016
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.

None yet

3 participants