Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felix Seibert
xtreemfs_client
Commits
222fcbfb
Commit
222fcbfb
authored
Feb 16, 2018
by
Felix Seibert
Browse files
using osds' uuids for the command generation
parent
99dc3005
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtreemfs_client/OSDManager.py
View file @
222fcbfb
...
...
@@ -205,8 +205,8 @@ class OSDManager(object):
# if no replication is used (otherwise than for moving the files from osd to osd),
# we should reset the replication policy to none
policy_command
=
div_util
.
create_replication_policy_command
(
absolute_file_path
)
create_command
=
div_util
.
create_create_replica_command
(
absolute_file_path
,
osd_for_file
)
delete_command
=
div_util
.
create_delete_replica_command
(
absolute_file_path
,
osd_of_file
)
create_command
=
div_util
.
create_create_replica_command
(
absolute_file_path
,
osd_for_file
.
uuid
)
delete_command
=
div_util
.
create_delete_replica_command
(
absolute_file_path
,
osd_of_file
.
uuid
)
change_policy_command_list
.
append
(
div_util
.
command_list_to_single_string
(
policy_command
))
create_replica_command_list
.
append
(
div_util
.
command_list_to_single_string
(
create_command
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment