syncthing/lib/db/backend
Jakob Borg 415adfbae6
lib/db: Don't hang on double iterator release with Badger (#6960)
Since iterators must be released before committing or discarding a
transaction we have the pattern of both deferring a release plus doing
it manually. But we can't release twice because we track this with a
WaitGroup that will panic when there are more Done()s than Add()s. This
just adds a boolean to let an iterator keep track.
2020-09-07 10:31:33 +02:00
..
backend.go lib/db: Don't put truncated files (ref #6855, ref #6501) (#6888) 2020-08-18 09:20:12 +02:00
backend_test.go lib/db: Wrap errors from leveldb iterators (fixes #6263) (#6264) 2020-01-12 09:06:31 +04:00
badger_backend.go lib/db: Don't hang on double iterator release with Badger (#6960) 2020-09-07 10:31:33 +02:00
badger_test.go lib/db: Add Badger backend (fixes #5910) (#6250) 2020-05-29 13:43:02 +02:00
debug.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00
leveldb_backend.go lib/db: Dont recurse on flush (fixes #6905) (#6906) 2020-08-19 13:13:44 +02:00
leveldb_open.go all: Make all error implementations pointer types (#6726) 2020-06-16 09:27:34 +02:00
leveldb_test.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00