mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 14:48:30 +00:00
In a recent change (#5201) this return disappeared. The effect is that we first shortcut the file and then also treat it normally. This results in to database updates after each other, which are bound to end up in the same batch. This means we remove one sequence entry and add two. Not marking the issues as fixed, because I need to do more testing and there are other discrepancies...
This commit is contained in:
parent
4f7d43a6dd
commit
9d7a811e72
@ -968,6 +968,7 @@ func (f *sendReceiveFolder) handleFile(file protocol.FileInfo, copyChan chan<- c
|
||||
// are only updating metadata, so we don't actually *need* to make the
|
||||
// copy.
|
||||
f.shortcutFile(file, curFile, dbUpdateChan)
|
||||
return
|
||||
}
|
||||
|
||||
tempName := fs.TempName(file.Name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user