summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-11-17 10:36:34 +0100
committerLinus Nordberg <linus@nordu.net>2016-11-17 10:36:34 +0100
commit27e368196ce65e109c027987c706a697356f7bc5 (patch)
treea14734978a9b59fa898639e138d27cb1a42538f5 /tools
parent034c40cc84f28fd970fc649ffe7eb7fe797479a6 (diff)
Add a bit of documentation.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/merge_backup.py5
-rwxr-xr-xtools/merge_dist.py5
-rwxr-xr-xtools/merge_fetch.py5
-rwxr-xr-xtools/merge_sth.py5
4 files changed, 16 insertions, 4 deletions
diff --git a/tools/merge_backup.py b/tools/merge_backup.py
index abe9f36..4f688c3 100755
--- a/tools/merge_backup.py
+++ b/tools/merge_backup.py
@@ -3,7 +3,10 @@
#
# Copyright (c) 2014-2015, NORDUnet A/S.
# See LICENSE for licensing information.
-
+#
+# Copy entries indicated by file 'fetched' to all secondary merge nodes.
+# See catlfish/doc/merge.txt for more about the merge process.
+#
import sys
import base64
import select
diff --git a/tools/merge_dist.py b/tools/merge_dist.py
index 2af1d6c..a9b5c60 100755
--- a/tools/merge_dist.py
+++ b/tools/merge_dist.py
@@ -3,7 +3,10 @@
#
# Copyright (c) 2014-2015, NORDUnet A/S.
# See LICENSE for licensing information.
-
+#
+# Distribute the 'sth' file and all missing entries to all frontend nodes.
+# See catlfish/doc/merge.txt for more about the merge process.
+#
import sys
import json
from time import sleep
diff --git a/tools/merge_fetch.py b/tools/merge_fetch.py
index 3028b30..db274a3 100755
--- a/tools/merge_fetch.py
+++ b/tools/merge_fetch.py
@@ -3,7 +3,10 @@
#
# Copyright (c) 2014-2015, NORDUnet A/S.
# See LICENSE for licensing information.
-
+#
+# Fetch new entries from all storage nodes.
+# See catlfish/doc/merge.txt for more about the merge process.
+#
import sys
import struct
import subprocess
diff --git a/tools/merge_sth.py b/tools/merge_sth.py
index 28ad34f..f4aec53 100755
--- a/tools/merge_sth.py
+++ b/tools/merge_sth.py
@@ -3,7 +3,10 @@
#
# Copyright (c) 2014-2015, NORDUnet A/S.
# See LICENSE for licensing information.
-
+#
+# Generate a new 'sth' file.
+# See catlfish/doc/merge.txt for more about the merge process.
+#
import sys
import json
import urllib2