bug
authorJoey Hess <joeyh@joeyh.name>
Mon, 23 Nov 2020 01:28:57 +0000 (21:28 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 23 Nov 2020 01:28:57 +0000 (21:28 -0400)
doc/bugs/p2p_protocol_misbehavior_when_location_log_out_of_date.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/p2p_protocol_misbehavior_when_location_log_out_of_date.mdwn b/doc/bugs/p2p_protocol_misbehavior_when_location_log_out_of_date.mdwn
new file mode 100644 (file)
index 0000000..44f0639
--- /dev/null
@@ -0,0 +1,15 @@
+With a ssh remote using the p2p protocol, git-annex move of 2 files,
+with the first file no longer present in the remote (having moved
+elsewhere) and the second file still, fails like this:
+
+       move file1 (from remote...)
+       verification of content failed
+       failed
+       move file2 (from remote..)
+       Lost connection (fd:15: hGetChar: illegal operation (handle is closed))
+       transfer failed
+
+The problem is on the first move, the protocol does not handle a file
+that's not present well, so it's not clear why it failed. And since that
+closes the connection, the next move fails when it should not need to.
+--[[Joey]]