syncthing/lib/db/backend
Jakob Borg 6a840a040b
lib/db: Keep metadata better in sync (ref #6335) (#6337)
This adds metadata updates to the same write batch as the underlying
file change. The odds of a metadata update going missing is greatly
reduced.

Bonus change: actually commit the transaction in recalcMeta.
2020-02-13 15:23:08 +01:00
..
backend_test.go lib/db: Wrap errors from leveldb iterators (fixes #6263) (#6264) 2020-01-12 09:06:31 +04:00
backend.go lib/db: Keep metadata better in sync (ref #6335) (#6337) 2020-02-13 15:23:08 +01:00
debug.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00
leveldb_backend.go lib/db: Keep metadata better in sync (ref #6335) (#6337) 2020-02-13 15:23:08 +01:00
leveldb_open.go lib/db: Add closeWaitGroup to allow async operation (#6317) 2020-02-11 14:31:43 +01:00
leveldb_test.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00