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

HDDS-12585. Ozone Recon - ContainerHealthTask ConstraintViolationException error handling. #8070

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devmadhuu
Copy link
Contributor

What changes were proposed in this pull request?

This PR change is to handle ContainerHealthTask ConstraintViolationException during the running of ContainerHealthTask.

Currently ContainerHealthTask gets aborted when "pk_container_id" ConstraintViolationException being thrown on UNHEALTHY_CONTAINERS table. Since this is a composite key and task should not be aborted , rather Recon's container health task should update the other fields of table if "pk_container_id" ConstraintViolationException being thrown on UNHEALTHY_CONTAINERS table.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12585

How was this patch tested?

This patch is tested using existing junit and integration tests and running in local docker cluster.

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.

1 participant