Commit 12109caa authored by Felix Seibert's avatar Felix Seibert
Browse files

return the rebalancing limit as well as the movements for lpt rebalancing

parent 144bb743
......@@ -271,7 +271,7 @@ class DataDistribution(object):
for folder_id, target in new_assignments:
movements[folder_id] = (movements[folder_id], target)
return movements
return movements, reassignment_limit
def rebalance_one_folder(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment