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
5db4700d
Commit
5db4700d
authored
Dec 03, 2018
by
Felix Seibert
Browse files
do not return movements with the same origin and target
parent
c1ebfac1
Changes
1
Show whitespace changes
Inline
Side-by-side
xtreemfs_client/dataDistribution.py
View file @
5db4700d
...
...
@@ -318,6 +318,9 @@ class DataDistribution(object):
new_assignments
=
self
.
add_folders
(
folders_to_be_reassigned
)
for
folder_id
,
target
in
new_assignments
:
if
movements
[
folder_id
]
==
target
:
del
movements
[
folder_id
]
else
:
movements
[
folder_id
]
=
(
movements
[
folder_id
],
target
)
return
movements
...
...
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