-
Notifications
You must be signed in to change notification settings - Fork 587
HDDS-12547. Container creation and import use the same VolumeChoosingPolicy #8090
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
adoroszlai
merged 20 commits into
apache:master
from
peterxcli:hdds12547-container-creation-and-import-share-VolumeChoosingPolicy
Apr 11, 2025
Merged
Changes from 10 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8f3a844
HDDS-12547. Container creation and import use the same VolumeChoosing…
peterxcli 8d1e90a
Don't handle exception in VolumeChoosingPolicyFactory#getSharedPolicy
peterxcli ecb4c38
Move to VolumeChoosingPolicy DatanodeStateMachine and pass it to KeyV…
peterxcli fa00382
Adjust others to fit new interface of the volumeChoosingPolicy place …
peterxcli 59e06cb
Merge branch 'master' of https://github.com/apache/ozone into hdds125…
peterxcli 71aacee
Convert reflection-related exceptions in getPolicy instead of its cal…
peterxcli e1e13e3
Let KeyValueHandler create the policy if they get null instance (for …
peterxcli 924eb8a
Add comment for the change in CapacityVolumeChoosingPolicy
peterxcli 31b935e
Make VolumeChoosingPolicy#chooseVolume method synchronized
peterxcli 5ead5eb
Revert threadLocalRandom
peterxcli b1bc0d6
revert unnecessary change
peterxcli 88028ca
Move commit volume space to VolumeChoosingPolicy to make it atomic
peterxcli 90740b7
Set committedSpace for containerData manually after choosing volume
peterxcli f86e8fc
Add test coverage for VolumeChoosingPolicy(s)
peterxcli 46842c1
Merge remote-tracking branch 'upstream/master' into hdds12547-contain…
peterxcli f2d22b8
Revert "Add test coverage for VolumeChoosingPolicy(s)"
peterxcli d05c13f
Revert "Set committedSpace for containerData manually after choosing …
peterxcli c04ba06
Revert "Move commit volume space to VolumeChoosingPolicy to make it a…
peterxcli afdd3ff
Remove synchronized from VolumeChoosingPolicy#chooseVolume at this time
peterxcli c6659a0
keep patch cleaner
peterxcli 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
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.
Uh oh!
There was an error while loading. Please reload this page.