Commit c97a6b13 authored by Felix Seibert's avatar Felix Seibert
Browse files

shuffling create replica command list to avoid overload of isngle osds

parent 1b96567e
......@@ -6,6 +6,7 @@ import urllib.error
import shutil
import time
import datetime
import random
import dataDistribution
import div_util
......@@ -222,6 +223,7 @@ class OSDManager(object):
if self.debug:
print("starting execution of create replica commands...")
print(str(datetime.datetime.now()))
random.shuffle(create_replica_command_list)
processes = div_util.run_commands(create_replica_command_list, max_processes_add_replica)
end_time = time.time()
if self.debug:
......
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