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
109fa931
Commit
109fa931
authored
Dec 05, 2018
by
Felix Seibert
Browse files
add check whether updated folders are known in the dataDistribution
parent
e91cbc39
Changes
1
Show whitespace changes
Inline
Side-by-side
xtreemfs_client/dataDistribution.py
View file @
109fa931
...
...
@@ -533,10 +533,13 @@ class DataDistribution(object):
"""
updates the size of a given folder
"""
found_containing_osd
=
False
for
one_osd
in
self
.
OSDs
.
values
():
if
folder
in
one_osd
.
folders
.
keys
():
one_osd
.
update_folder
(
folder
,
size
)
found_containing_osd
=
True
break
assert
found_containing_osd
is
True
def
description
(
self
):
"""
...
...
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