-
Notifications
You must be signed in to change notification settings - Fork 594
HDDS-12607. Parallelize recon tasks to speed up OM rocksdb reading tasks #9243
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
Merged
ArafatKhan2198
merged 50 commits into
apache:master
from
ArafatKhan2198:HDDS-12607-updated
Dec 10, 2025
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
848d52b
HDDS-12607. Parallelize recon tasks to speed up OM rocksdb reading ta…
ArafatKhan2198 b9100a6
Reverted the changes for NSSummaryTask
ArafatKhan2198 1b39a9a
Removed unnecessary changes
ArafatKhan2198 266138a
Refactored and changed the code a bit
ArafatKhan2198 7cfc000
Removed the commented code
ArafatKhan2198 e67b310
Made code review changes- Added RejectionPolicy, Re-added flush logic…
ArafatKhan2198 a9855b0
Added a flag isFlushingInProgress to avoid race condition while flushing
ArafatKhan2198 56a2e40
Made final code changes for testing
ArafatKhan2198 8424170
Prevent FSO/OBS container count overwrite by using a shared Concurren…
ArafatKhan2198 b93511e
Added write lock in the writeCountsToDB method
ArafatKhan2198 e37bb11
Removed extra locking and improved exception log messages
ArafatKhan2198 c02718e
Defined proper caller based locking for writeConuntsToDB
ArafatKhan2198 648e94c
Some more improvements
ArafatKhan2198 0c0c09a
Added changes to the parallel Iterator class
ArafatKhan2198 f7e0cf3
Consolidated all the locks in a single lock for simplicity
ArafatKhan2198 f4ddf9e
Fixed memory leak by clearing the shared map
ArafatKhan2198 28719bf
Refactored the code
ArafatKhan2198 d3361f6
Made the lock for the file size count task local rather than global
ArafatKhan2198 ff3c6e9
Remove un-necessary code from OzoneManagerServiceProviderImpl
ArafatKhan2198 ce8a0bd
Added Parallelization for the OmtableInsightTask
ArafatKhan2198 8924135
Small Refactors
ArafatKhan2198 1787b65
Remove the flag isFlushingInProgress
ArafatKhan2198 37390f7
Refactored changes 1
ArafatKhan2198 ce0d63b
Removed the complex locking in ContainerKeyMapper task
ArafatKhan2198 03b2dc2
Added a Configurable flush threshold implemented
ArafatKhan2198 99098d9
Removed unnecessary code from service provider impl
ArafatKhan2198 e6a4552
Removed unnecessary commits
ArafatKhan2198 c47a4ba
Removed unnecessary code
ArafatKhan2198 e795738
Removed the unwanted change
ArafatKhan2198 34a8abc
Refactored the code and reduced the number of log messages
ArafatKhan2198 eccd370
Fixed final review comments
ArafatKhan2198 940b271
Removed unnecessary changes
ArafatKhan2198 702e92b
Removed some extra changes
ArafatKhan2198 58bcccd
Reverted back to the old change
ArafatKhan2198 f55fe25
Fixed some more code
ArafatKhan2198 47eaf82
Removed testing code
ArafatKhan2198 980135d
Recon: Improve type safety in OmTableHandlers and fix ACTIVE_TASK_COU…
ArafatKhan2198 cff7278
Removed the supress warning
ArafatKhan2198 04df207
Fixed checkstyle
ArafatKhan2198 bed2151
Fixed findbugs
ArafatKhan2198 1a26915
Removed testing code
ArafatKhan2198 73434a1
Merge branch 'master' into HDDS-12607-updated
ArafatKhan2198 0c9cd92
Fixed failing tests
ArafatKhan2198 60a197a
Fixed TestConfigurationFieldsBase
ArafatKhan2198 e670c93
Fixed container endpoint
ArafatKhan2198 a4d4f35
Fixed checkstyle issues
ArafatKhan2198 d60d4fe
Fixed failing tests
ArafatKhan2198 6addd6d
Fixed TestContainerEndpoint
ArafatKhan2198 1a1e838
Fixed checkstyle
ArafatKhan2198 ca379ff
Fixed TestReconAndAdminContainerCLI
ArafatKhan2198 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some comments and explain : when/how to tune these ?
Also please provide some guidance in javadoc here for memory consumption with an example something like below:
Resource calculation:
Can also be added in ozone-default.xml documentation with tuning guidelines.