From 14df5211af7c4a6a3b0defd427173939fc78cebd Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Thu, 11 Jan 2018 10:36:35 +0000 Subject: [PATCH] lib/model: Correctly account handling of sparse blocks (fixes #4657) GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4658 --- lib/model/rwfolder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/model/rwfolder.go b/lib/model/rwfolder.go index c8ae69f4e..bfe24a008 100644 --- a/lib/model/rwfolder.go +++ b/lib/model/rwfolder.go @@ -1200,6 +1200,7 @@ func (f *sendReceiveFolder) copierRoutine(in <-chan copyBlocksState, pullChan ch // Pretend we copied it. state.copiedFromOrigin() + state.copyDone(block) continue }