git-annex/doc/todo/stalldetection_breaks_move.mdwn
Joey Hess a422a056f2
make getViaTmpFrom no longer update location log
All callers adjusted to update it themselves.

In Command.ReKey, and Command.SetKey, the cleanup action already did,
so it was updating the log twice before.

This fixes a bug when annex.stalldetection is set, as now
Command.Transferrer can skip updating the location log, and let it be
updated by the calling process.
2020-12-11 11:50:13 -04:00

9 lines
392 B
Markdown

Setting annex.stalldetection can break sync when it does a move,
which complains it cannot find enough copies to drop.
(Seems that git-annex move does work ok.)
The problem is that the transferrer process updates the location log, but
the parent process doesn't see the update in time. So, the location log
update needs to move to the parent process. --[[Joey]]
> [[fixed|done]] --[[Joey]]