syncthing/lib/db
Jakob Borg 694da60659 lib/db: Reinstate database update locking
The previous commit loosened the locking around database updates.
Apparently that was not fine - what happens is that parallell updates
to the same file for different devices stomp on each others updates to
the global index, leaving it missing one of the two devices.
2016-07-23 20:32: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 Benchmark must use *db.Instance 2015-11-05 17:46:53 +00:00
blockmap_test.go lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
blockmap.go Change DB label format (index folders, devices) 2016-01-03 19:32:40 +01:00
concurrency_test.go mv internal lib 2015-08-09 09:35:26 +02:00
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
leveldb_dbinstance.go cmd/syncthing, lib/db, lib/model, lib/protocol: Implement delta indexes (fixes #438) 2016-07-23 12:46:31 +00:00
leveldb_test.go lib: Use bytes.Equal instead of bytes.Compare where possible 2016-03-31 15:12:46 +00:00
leveldb_transactions.go cmd/syncthing, lib/db, lib/model, lib/protocol: Implement delta indexes (fixes #438) 2016-07-23 12:46:31 +00:00
leveldb.go cmd/syncthing, lib/db, lib/model, lib/protocol: Implement delta indexes (fixes #438) 2016-07-23 12:46:31 +00:00
namespaced_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
namespaced.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
set_test.go cmd/syncthing, lib/db, lib/model, lib/protocol: Implement delta indexes (fixes #438) 2016-07-23 12:46:31 +00:00
set.go lib/db: Reinstate database update locking 2016-07-23 20:32:15 +02:00
structs.go lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
structs.pb.go lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
structs.proto lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
virtualmtime_test.go We should pass around db.Instance instead of leveldb.DB 2015-10-31 12:35:30 +01:00
virtualmtime.go Change DB label format (index folders, devices) 2016-01-03 19:32:40 +01:00