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

rebalance while compaction is in work on all nodes #1193

Open
wulfgar93 opened this issue Aug 15, 2019 · 3 comments
Open

rebalance while compaction is in work on all nodes #1193

wulfgar93 opened this issue Aug 15, 2019 · 3 comments
Labels

Comments

@wulfgar93
Copy link

Hello! Could you be so king and answer me one question? I didn't find any information in docs.

Is it save to add new storage node and run rebalance while compaction is in work on all nodes?

@yosukehara
Copy link
Member

Is it save to add new storage node and run rebalance while compaction is in work on all nodes?

The main purpose of Data compaction is to remove unnecessary objects from each your storage node. The purpose of adding a storage node(s) and rebalance is to increase the disk capacity of the storage system.

When the disk capacity of your LeoFS storage system is low, add nodes, otherwise, data-compaction is enough.

@wulfgar93
Copy link
Author

wulfgar93 commented Aug 16, 2019

@yosukehara thanks for answering! I made a mistake with word "save" in my question, I meaned "safe". :) I understand meaning of these functions, but the question is whether it is safe to run both of these functions in parallel. Cluster receive new data faster than compaction can delete unnecessary objects and also I know that disk capacity will be not enough for new data. New storage nodes are ready to join the cluster, but earlier I've launched compaction and I worry of safety to add them before compaction ends.

@wulfgar93
Copy link
Author

@yosukehara, could you clarify weather I can add new sorage node and launch rebalance in parallel with compaction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants