Skip to content

Conversation

@Tejaskriya
Copy link
Contributor

What changes were proposed in this pull request?

Currently on demand scanning does a full check (data and metadata) of closed containers only. Data scan of blocks can only be done on closed containers, but metadata scan can be done on open containers. When an open container is queued for on-demand scanning, the scanner should do a metadata scan instead of ignoring it.
This PR introduces metadata scan for open containers as well.

What is the link to the Apache JIRA

HDDS-8781

How was this patch tested?

Updated existing unit and integration tests

@Tejaskriya Tejaskriya requested a review from errose28 May 13, 2025 14:01
@adoroszlai adoroszlai marked this pull request as draft May 13, 2025 15:05
@adoroszlai adoroszlai marked this pull request as ready for review May 13, 2025 20:48
Copy link
Contributor

@aryangupta1998 aryangupta1998 left a comment

Choose a reason for hiding this comment

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

Overall, the changes look good to me!
Some minor comments inline.

@errose28 errose28 added the scanners Changes related to datanode container and volume scanners label May 19, 2025
@Tejaskriya
Copy link
Contributor Author

Thanks for the review @aryangupta1998 , I have addressed all the changes you have suggested

@Tejaskriya Tejaskriya requested a review from aryangupta1998 May 22, 2025 06:44
@errose28
Copy link
Contributor

@ptlrs can you review this?

@adoroszlai adoroszlai marked this pull request as draft June 20, 2025 11:52
@adoroszlai adoroszlai marked this pull request as ready for review June 21, 2025 19:40
Copy link
Contributor

@ptlrs ptlrs left a comment

Choose a reason for hiding this comment

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

Thank you @Tejaskriya for this PR. It looks mostly good.

Copy link
Contributor

@ptlrs ptlrs left a comment

Choose a reason for hiding this comment

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

Thanks for the changes @Tejaskriya. LGTM.

Copy link
Contributor

@aryangupta1998 aryangupta1998 left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @Tejaskriya, LGTM!

@adoroszlai adoroszlai merged commit f856ada into apache:master Jul 12, 2025
41 checks passed
@adoroszlai
Copy link
Contributor

Thanks @Tejaskriya for the patch, @aryangupta1998, @ptlrs for the review.

jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scanners Changes related to datanode container and volume scanners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants