summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 12:24:23 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 12:24:23 -0400
commitd06e2d90fea817fe17c8c0e2f197ea9ee75931a2 (patch)
tree806ad3985ea3b719883a075dd2fb2e8efef9eaa3
parentf80d192d06187a09cd769c9f71421b358b0a7758 (diff)
comment
-rw-r--r--doc/forum/Robustness_on_failing_hardware/comment_1_d89ffbebe59d05fb2c47d957792cf97e._comment21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/Robustness_on_failing_hardware/comment_1_d89ffbebe59d05fb2c47d957792cf97e._comment b/doc/forum/Robustness_on_failing_hardware/comment_1_d89ffbebe59d05fb2c47d957792cf97e._comment
new file mode 100644
index 000000000..baac15e81
--- /dev/null
+++ b/doc/forum/Robustness_on_failing_hardware/comment_1_d89ffbebe59d05fb2c47d957792cf97e._comment
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2015-07-06T16:09:22Z"
+ content="""
+If the remote that git-annex is moving files to uses rsync as its transport
+(ie, is a regular git remote, or a rsync special remote), then
+the receiving rsync process verifies a checksum of the file it's receiving.
+So, if the sender sends incorrect data, or calculates the wrong checksum
+for the right data, the rsync will fail, and git-annex won't delete the
+local copy of the file. I guess that if the sending rsync reads bad data
+from disk, these checksums won't prevent the bad data being sent to the
+remote though. (Some other special remotes don't have a transfer checksum
+at all.)
+
+If I had hardware this broken, I'd be glad that `git annex fsck` detected
+it, and would move the storage to good hardware and run my fsck there to
+learn the actual state of my repository. Re-running checksums or using
+multiple checksum types to work around badly broken hardware seems like a
+losing idea to me.
+"""]]