syncthing/lib/db
Jakob Borg f1b253fc00 lib/db: Don't whack blocks when putting truncated file (#6434)
As of the latest database checker we are again putting files without
blocks. I'm not 100% convinced that's a great idea, but we also do it
for ignored files apparently so it looks like we probably should support
it. This adds an escape hatch that must be manually enabled...
2020-03-20 12:07:29 +01:00
..
backend lib/db: Keep metadata better in sync (ref #6335) (#6337) 2020-02-13 15:23:08 +01:00
testdata lib/db: Add index to track locally needed files (#4958) 2018-06-02 15:08:32 +02:00
.gitignore Change DB label format (index folders, devices) 2016-01-03 19:32:40 +01:00
benchmark_test.go all: Transactionalize db.FileSet (fixes #5952) (#6239) 2020-01-21 18:23:08 +01:00
blockmap_test.go lib/db: Use Commit() instead of commit() (#6330) 2020-02-12 11:59:55 +01:00
blockmap.go lib/db: Remove *instance by making everything *Lowlevel (#6204) 2019-12-02 08:18:04 +01:00
db_test.go lib/db: Don't whack blocks when putting truncated file (#6434) 2020-03-20 12:07:29 +01:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
keyer_test.go lib/db: Add closeWaitGroup to allow async operation (#6317) 2020-02-11 14:31:43 +01:00
keyer.go lib: Repair sequence inconsistencies (#6367) 2020-03-18 17:34:46 +01:00
lowlevel.go lib/db: Don't whack blocks when putting truncated file (#6434) 2020-03-20 12:07:29 +01:00
meta_test.go lib/db: Correct metadata recalculation (fixes #6381) (#6382) 2020-02-28 11:16:33 +01:00
meta.go lib/db: Keep metadata better in sync (ref #6335) (#6337) 2020-02-13 15:23:08 +01:00
namespaced_test.go lib/db: Add closeWaitGroup to allow async operation (#6317) 2020-02-11 14:31:43 +01:00
namespaced.go all: Propagate errors from NamespacedKV (#6203) 2019-11-30 13:03:24 +01:00
schemaupdater.go lib/db: Don't whack blocks when putting truncated file (#6434) 2020-03-20 12:07:29 +01:00
set_test.go lib/db: Extend set test with second remote (#6402) 2020-03-11 08:15:45 +01:00
set.go lib/db, lib/syncthing: Repair db once on upgrade (ref #6425, #6427) (#6429) 2020-03-19 16:00:05 +01:00
smallindex_test.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00
smallindex.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00
structs.go lib/db: Remove emptied global list in checkGlobals (fixes #6425) (#6426) 2020-03-19 15:59:49 +01:00
structs.pb.go lib/db: Deduplicate block lists in database (fixes #5898) (#6283) 2020-01-24 08:35:44 +01:00
structs.proto lib/db: Deduplicate block lists in database (fixes #5898) (#6283) 2020-01-24 08:35:44 +01:00
transactions.go lib/db: Don't whack blocks when putting truncated file (#6434) 2020-03-20 12:07:29 +01:00
util_test.go Implement database abstraction, error checking (ref #5907) (#6107) 2019-11-29 09:11:52 +01:00