syncthing/lib/db
Jakob Borg e9f05d138f lib/db, lib/model: Always use reasonable sized batches (fixes #2250, fixes #4112)
Harmonize how we use batches in the model, using ProtoSize() to judge
the actual weight of the entire batch instead of estimating. Use smaller
batches in the block map - I think we might have though that batch.Len()
in the leveldb was the batch size in bytes, but it's actually number of
operations.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4114
2017-04-22 14:23:33 +00:00
..
testdata lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
.gitignore Change DB label format (index folders, devices) 2016-01-03 19:32:40 +01:00
benchmark_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
blockmap_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
blockmap.go lib/db, lib/model: Always use reasonable sized batches (fixes #2250, fixes #4112) 2017-04-22 14:23:33 +00:00
concurrency_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
debug.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
leveldb_dbinstance.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
leveldb_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
leveldb_transactions.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
leveldb.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
namespaced_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
namespaced.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
set_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
set.go lib/scanner: Use fs.Filesystem for all operations 2017-04-01 09:04:11 +00:00
structs.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
structs.pb.go vendor: Update github.com/gogo/protobuf 2017-01-03 00:16:21 +00:00
structs.proto vendor: Update github.com/gogo/protobuf 2017-01-03 00:16:21 +00:00