syncthing/lib/db
Simon Frei a548014755 lib/db, lib/model: Add sequence->deviceKey to db for sending indexes (#4906)
Instead of walking and unmarshalling the entire db and sorting the resulting
file infos by sequence, add store device keys by sequence number in the
database. Thus only the required file infos need be unmarshalled and are already
sorted by index.
2018-05-01 23:39:15 +02: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 lib/db: Fix benchmarks 2018-01-28 11:26:01 +00: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 lib/db, lib/model: Add sequence->deviceKey to db for sending indexes (#4906) 2018-05-01 23:39:15 +02:00
leveldb_test.go cmd/syncthing, lib/db: Be nicer about dropping deltas on upgrade (#4798) 2018-03-10 11:42:01 +01:00
leveldb_transactions.go lib/db, lib/model: Add sequence->deviceKey to db for sending indexes (#4906) 2018-05-01 23:39:15 +02:00
leveldb.go lib/db, lib/model: Add sequence->deviceKey to db for sending indexes (#4906) 2018-05-01 23:39:15 +02:00
meta.go lib/db: Don't panic on negative counts (#4761) 2018-02-14 11:25:34 +01:00
namespaced_test.go lib/db: Fix test for Go 1.9's smarter time.Time values 2017-06-28 14:36:04 +02:00
namespaced.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
set_test.go lib/db, lib/model: Add sequence->deviceKey to db for sending indexes (#4906) 2018-05-01 23:39:15 +02:00
set.go lib/db, lib/model: Add sequence->deviceKey to db for sending indexes (#4906) 2018-05-01 23:39:15 +02:00
structs.go all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00
structs.pb.go all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00
structs.proto all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00