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
c1ebfac1
Commit
c1ebfac1
authored
Dec 03, 2018
by
Felix Seibert
Browse files
enhace debug output for rebalancing
parent
a488b8c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtreemfs_client/OSDManager.py
View file @
c1ebfac1
...
@@ -230,6 +230,11 @@ class OSDManager(object):
...
@@ -230,6 +230,11 @@ class OSDManager(object):
rebalance_time
=
round
(
time
.
time
()
-
start_time
)
rebalance_time
=
round
(
time
.
time
()
-
start_time
)
print
(
"rebalanced assignment in secs: "
+
str
(
rebalance_time
))
print
(
"rebalanced assignment in secs: "
+
str
(
rebalance_time
))
print
(
"movements:"
)
print
(
str
(
movements
))
print
(
"rebalanced osd manager:
\n
"
+
str
(
self
))
start_time
=
time
.
time
()
start_time
=
time
.
time
()
if
fix_layout_internally
:
if
fix_layout_internally
:
...
@@ -260,6 +265,8 @@ class OSDManager(object):
...
@@ -260,6 +265,8 @@ class OSDManager(object):
else
:
else
:
self
.
fix_physical_layout_externally
()
self
.
fix_physical_layout_externally
()
self
.
__write_configuration
()
if
self
.
debug
:
if
self
.
debug
:
total_time
=
round
(
time
.
time
()
-
start_time
)
total_time
=
round
(
time
.
time
()
-
start_time
)
print
(
"fixed physical layout of existing files in secs: "
+
str
(
total_time
))
print
(
"fixed physical layout of existing files in secs: "
+
str
(
total_time
))
...
...
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