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

renaming copy_commands into commands due to its general nature

parent d57a4aad
......@@ -180,7 +180,7 @@ class OSDManager(object):
osd_to_folders_map[osd_for_tile].append(input_folder)
move_commands = self.__generate_move_commands_slurm(osd_to_folders_map)
self.__execute_copy_commands(move_commands)
self.__execute_commands(move_commands)
else:
self.fix_physical_layout_externally()
......@@ -678,7 +678,7 @@ class OSDManager(object):
path_to_target_dir = self.get_target_dir(input_folder.id)
os.makedirs(path_to_target_dir, exist_ok=True)
self.__execute_copy_commands(copy_commands)
self.__execute_commands(copy_commands)
'''
generates a list of copy commands, one command for each OSD that receives new data.
......@@ -786,9 +786,9 @@ class OSDManager(object):
command_list.
'''
def __execute_copy_commands(self, command_list):
def __execute_commands(self, command_list):
if self.debug:
print("Executing copy commands: ")
print("Executing commands: ")
for command in command_list:
print(str(command))
print("in total " + str(len(command_list)) + " commands.")
......@@ -804,7 +804,7 @@ class OSDManager(object):
if self.debug:
for terminated_process in processes:
print(str(terminated_process.communicate()))
print("Executing copy commands done.")
print("Executing commands done.")
'''
creates a list of all folders, managed by this XtreemFS OSD manager, that have an assigned OSD
......
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