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-12062. Recon - Error handling in NSSummaryTask to avoid data inconsistencies. #7723

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

devmadhuu
Copy link
Contributor

What changes were proposed in this pull request?

This PR change fixes improper error handling in processing of NSSummary task events.

Please describe your PR in detail:
Robust error handling is needed in Recon OM tasks to avoid data inconsistency. E.g. improper exception handling for a partial batch of events processing. E.g. it could be possible that some events in the NSSummary task are already processed and flushed to DB for some keys having the same parentId as those keys which are failed. So re-processing of those same events should be handled separately for failed events in a set.

What is the link to the Apache JIRA

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

How was this patch tested?

This patch is tested with junit test cases.

@devmadhuu devmadhuu marked this pull request as ready for review January 21, 2025 05:56
@devmadhuu devmadhuu marked this pull request as draft January 21, 2025 05:57
@devmadhuu devmadhuu marked this pull request as ready for review January 21, 2025 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants