syncthing/lib
Jakob Borg 531ceb2b0f
Add indirection for large version vectors. (#6376)
This adds indirection of large version vectors in the same manner as we
already to block lists. The effect is the same: less duplicated data in
some situations.

To mitigate the impact for when this indirection
wouldn't be needed I've added an indirection cutoff for both blocks and
the new version vector stuff: we don't do the indirection at all for
small block lists or small version vectors, instead storing it directly
like we used to do. This is faster for small files and small setups.
2020-05-13 14:28:42 +02:00
..
api build: Update .gitignores for new asset locs (ref #6624) (#6631) 2020-05-11 11:04:47 +01:00
assets cmd/strelaypoolsrv, lib/api: Factor out static asset serving (#6624) 2020-05-10 11:44:34 +02:00
beacon lib/beacon: Only send to appropriately flagged interfaces (ref #5957) (#6404) 2020-03-17 09:40:37 +01:00
build build, lib/build: Build faster (#6538) 2020-04-16 10:09:33 +02:00
config lib/model: Add support for different puller block ordering (#6587) 2020-05-11 22:44:04 +01:00
connections lib/connections: React to listeners going up and down faster (#6590) 2020-05-11 15:02:22 +02:00
db Add indirection for large version vectors. (#6376) 2020-05-13 14:28:42 +02:00
dialer lib/dialer: Preserve nilness in error handling (fixes #6368) (#6369) 2020-02-26 13:16:18 +01:00
discover lib/connections: React to listeners going up and down faster (#6590) 2020-05-11 15:02:22 +02:00
events lib/events, lib/model: Unflake test and prevent deadlock on event unsubscribing (#6261) 2020-01-11 08:14:05 +01:00
fs lib/fs: Avoid dirty offset read in fakefs (fixes #6584) 2020-04-28 09:58:31 +02:00
ignore lib/ignore: Only skip for toplevel includes (fixes #6487) (#6508) 2020-04-07 10:23:38 +02:00
locations cmd/syncthing, lib/locations: Separate data and config dirs (fixes #4924) (#6309) 2020-03-18 20:58:11 +01:00
logger all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
model Add indirection for large version vectors. (#6376) 2020-05-13 14:28:42 +02:00
nat lib: More contextification (#6343) 2020-02-24 21:57:15 +01:00
osutil lib/osutil: Fix "atomic" rename on Windows (ref #6495, ref #6493) (#6510) 2020-04-07 15:38:55 +02:00
pmp lib: More contextification (#6343) 2020-02-24 21:57:15 +01:00
protocol Add indirection for large version vectors. (#6376) 2020-05-13 14:28:42 +02:00
rand lib/rand: Various fixes (#6474) 2020-03-30 23:26:28 +02:00
rc lib/protocol, rc, utils: Add mutex Unlock before panic (#6556) 2020-04-20 14:52:16 +02:00
relay cmd/strelaypoolsrv: Expose check error to client, fix incorrect response code handling 2020-04-04 13:31:42 +02:00
scanner lib/ignore: Only skip for toplevel includes (fixes #6487) (#6508) 2020-04-07 10:23:38 +02:00
sha256 Add indirection for large version vectors. (#6376) 2020-05-13 14:28:42 +02:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats all: Propagate errors from NamespacedKV (#6203) 2019-11-30 13:03:24 +01:00
stun lib: More contextification (#6343) 2020-02-24 21:57:15 +01:00
sync lib/sync: Cleanly fail instead of panic in tests (#6088) 2019-10-16 10:11:11 +02:00
syncthing lib/db: Make database GC a service, stop on Stop() (#6518) 2020-04-12 10:26:57 +02:00
testutils lib/model, lib/testutils: Test closing a connection on folder restart (#5707) 2019-05-18 08:53:59 +02:00
tlsutil all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
upgrade all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
upnp lib: More contextification (#6343) 2020-02-24 21:57:15 +01:00
ur lib/ur: Correct freaky error handling (fixes #6499) (#6500) 2020-04-06 09:53:37 +02:00
util lib/protocol, rc, utils: Add mutex Unlock before panic (#6556) 2020-04-20 14:52:16 +02:00
versioner lib/versioner: Extended tests of intervals (#6462) 2020-03-31 00:14:05 +02:00
watchaggregator lib: Replace done channel with contexts in and add names to util services (#6166) 2019-11-21 08:41:15 +01:00
weakhash lib/weakhash: Fix speed reporting in benchmark (#6470) 2020-03-29 17:07:25 +02:00