Skip to content

Conversation

@aswinshakil
Copy link
Member

What changes were proposed in this pull request?

Currently the container scanner skips containers which are already marked as unhealthy. Now that the we want to either repair these containers, or use parts of them to repair other containers. We need the container scanner to scan UNHEALTHY container as well.

What is the link to the Apache JIRA

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

How was this patch tested?

Existing Tests.

@aswinshakil aswinshakil self-assigned this Jun 12, 2024
@errose28 errose28 self-requested a review June 17, 2024 19:46
Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Thanks @aswinshakil LGTM once we add tests that already unhealthy containers are getting re-scanned.

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Thanks @aswinshakil just a few more updates based on the test changes.

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Just one minor comment on the test updates then this looks good from me.

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Thanks @aswinshakil

@errose28 errose28 merged commit 5bde01d into apache:HDDS-10239-container-reconciliation Jun 25, 2024
errose28 added a commit to errose28/ozone that referenced this pull request Jun 28, 2024
…-delete

* HDDS-10239-container-reconciliation:
  HDDS-10887. Implement a basic Merkle Tree Manager. (apache#6778)
  HDDS-10923. Container Scanner should still scan unhealthy containers. (apache#6809)

Conflicts:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/checksum/ContainerChecksumTreeManager.java
hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/checksum/TestContainerChecksumTreeManager.java
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.

3 participants