-
Notifications
You must be signed in to change notification settings - Fork 313
Discourage rebalance, warn against stopping it #1298
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
Draft
feorlen
wants to merge
2
commits into
main
Choose a base branch
from
rebalance-stop-guidance
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
Prev
Previous commit
additional discussion of mismatched pool sizes
- Loading branch information
commit 40606ceb7f4aeb46491e4b2b4525c2873b9a42cd
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,23 +140,26 @@ There are several options to manage your MinIO deployments and clusters: | |
How do I manage object distribution across a MinIO deployment? | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
MinIO optimizes storage of objects across available pools by writing new objects (that is, objects with no existing versions) to the server pool with the most free space compared total amount of free space on all available server pools. | ||
MinIO optimizes storage of objects across available pools by writing new objects (that is, objects with no existing versions) to the server pool with the most free space compared to the total amount of free space on all available server pools. | ||
MinIO does not perform the costly action of rebalancing objects from older pools to newer pools. | ||
Instead, new objects typically route to the new pool as it has the most free space. | ||
As that pool fills, new write operations eventually balance out across all pools in the deployment. | ||
For more information on write preference calculation logic, see :ref:`Writing Files <minio-writing-files>` below. | ||
|
||
As the new pool fills, write operations eventually balance out across all pools in the deployment. | ||
Until then, the new pool's nodes may experience higher loads and slower writes. | ||
|
||
To reduce this temporary performance impact, MinIO recommends expanding a deployment well before its existing pools are near capacity and with new pools of a similar size. | ||
For more information on write preference calculation logic, see :ref:`Writing Files <minio-writing-files>`. | ||
Comment on lines
+147
to
+151
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Accurate? Sufficient? Other mentions of pool sizing link to this section |
||
|
||
Rebalancing data across all pools after an expansion is an expensive operation that requires scanning the entire deployment and moving objects between pools. | ||
This may take a long time to complete depending on the amount of data to move. | ||
|
||
MinIO does not recommend manual rebalancing. | ||
If required, you can manually initiate a rebalancing operation across all server pools using :mc:`mc admin rebalance`. | ||
feorlen marked this conversation as resolved.
Show resolved
Hide resolved
|
||
MinIO recommends `SUBNET <https://min.io/pricing?jmp=docs>`__ users `log in <https://subnet.min.io/>`__ and create a new issue to discuss appropriate rebalancing strategies for deployments. | ||
|
||
Rebalancing does not block ongoing operations and runs in parallel to all other I/O. | ||
This can result in reduced performance of regular operations. | ||
Consider scheduling rebalancing operations during non-peak periods to avoid impacting production workloads. | ||
|
||
MinIO recommends `SUBNET <https://min.io/pricing?jmp=docs>`__ users `log in <https://subnet.min.io/>`__ and create a new issue to discuss capacity planning or rebalancing considerations for their deployments. | ||
|
||
|
||
How do I upload objects to MinIO? | ||
--------------------------------- | ||
|
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
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.
Does it make sense to say this in the hardware checklist?