Browse Source

lib/model: Correctly account handling of sparse blocks (fixes #4657)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4658
Jakob Borg 7 years ago
parent
commit
14df5211af
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/model/rwfolder.go

+ 1 - 0
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
 			}