mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-19 03:25:16 +00:00
1471c15b29
When dropping delta index IDs due to upgrade, only drop our local one. Previously, when dropping all of them, we would trigger a full send in both directions on first connect after upgrade. Then the other side would upgrade, doing the same thing. Net effect is full index data gets sent twice in both directions. With this change we just drop our local ID, meaning we will send our full index on first connect after upgrade. When the other side upgrades, they will do the same. This is a bit less cruel. |
||
---|---|---|
.. | ||
testdata | ||
.gitignore | ||
benchmark_test.go | ||
blockmap_test.go | ||
blockmap.go | ||
concurrency_test.go | ||
debug.go | ||
leveldb_dbinstance.go | ||
leveldb_test.go | ||
leveldb_transactions.go | ||
leveldb.go | ||
meta.go | ||
namespaced_test.go | ||
namespaced.go | ||
set_test.go | ||
set.go | ||
structs.go | ||
structs.pb.go | ||
structs.proto |