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
e91cbc39
Commit
e91cbc39
authored
Dec 03, 2018
by
Felix Seibert
Browse files
print random_seed in debug mode
parent
93f2172b
Changes
1
Show whitespace changes
Inline
Side-by-side
xtreemfs_client/dataDistribution.py
View file @
e91cbc39
...
...
@@ -245,6 +245,8 @@ class DataDistribution(object):
if
random_osd_assignment
:
random
.
seed
(
random_seed
)
if
debug
and
random_seed
is
not
None
:
print
(
"using random seed: "
+
str
(
random_seed
))
# totally random OSD assignment, ignoring OSD capacities
# (might lead to I/O errors when too many groups are assigned to an OSD)
...
...
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