|
Some checks are pending
CI / vet-build-test (push) Waiting to run
`backup` does VACUUM INTO (DB snapshot) then copies the blob tree; a concurrent gc sweep could delete a blob the snapshot references between those steps, producing a backup that's internally inconsistent — a dangling ref you'd only discover on restore. Now gc sweeps (the --gc-every ticker AND `gc`) and `backup` take an exclusive flock on <data>/.lock, so they can't overlap. Dry-run gc skips the lock (read-only, must not block a long backup). unix flock (auto-released on crash); no-op stub on non-unix (the hub ships linux/darwin). Test: TestDataLockMutualExclusion. Cross-builds clean for windows + linux/arm64. |
||
|---|---|---|
| .. | ||
| fsck_share_test.go | ||
| fsck_test.go | ||
| gc_crossshare_test.go | ||
| gc_test.go | ||
| isloopback_test.go | ||
| lock_other.go | ||
| lock_test.go | ||
| lock_unix.go | ||
| main.go | ||