From 931ad8041253bcec5f594783b12fb5349846f024 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 22 Nov 2020 21:28:57 -0400 Subject: [PATCH] bug --- ...misbehavior_when_location_log_out_of_date.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/p2p_protocol_misbehavior_when_location_log_out_of_date.mdwn 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 index 0000000000..44f0639822 --- /dev/null +++ b/doc/bugs/p2p_protocol_misbehavior_when_location_log_out_of_date.mdwn @@ -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]]