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
d511d957
Commit
d511d957
authored
Feb 16, 2018
by
Felix Seibert
Browse files
removing print statements for debugging
parent
16863995
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtreemfs_client/OSDManager.py
View file @
d511d957
...
...
@@ -184,19 +184,10 @@ class OSDManager(object):
for
filename
in
directory
[
2
]:
absolute_file_path
=
os
.
path
.
join
(
directory
[
0
],
filename
)
print
(
"absolute file path: "
+
str
(
absolute_file_path
))
osd_of_file
=
div_util
.
get_osd_uuid
(
absolute_file_path
)
print
(
"osd_of_file: "
+
str
(
osd_of_file
))
path_on_volume
=
self
.
path_on_volume
(
absolute_file_path
)
print
(
"path on volume: "
+
self
.
path_on_volume
(
absolute_file_path
))
containing_folder_id
=
self
.
get_containing_folder_id
(
path_on_volume
)
print
(
"containing folder id: "
+
containing_folder_id
)
osd_for_file
=
self
.
distribution
.
get_containing_osd
(
containing_folder_id
).
uuid
print
(
"osd_for_file: "
+
str
(
osd_for_file
))
if
osd_of_file
!=
osd_for_file
:
# create replication commands
...
...
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