Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-04 | tests/cluster: add TestPoCTornWriteLocked | Jakob Unterwurzacher | |
2024-12-04 | tests/cluster: add TestPoCTornWrite | Jakob Unterwurzacher | |
Scary. But explains why TestConcurrentCreate fails. gocryptfs/tests/cluster$ go test -run TestPoCTornWrite --- FAIL: TestPoCTornWrite (0.00s) poc_test.go:210: iteration 214: inconsistent block: d6d6d6d6d6d6d6d6d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1 FAIL | |||
2024-12-04 | tests/cluster: add TestPoCHeaderCreation | Jakob Unterwurzacher | |
2024-12-04 | fusefrontend: sharedstorage: use byte-range lock on file header creation | Jakob Unterwurzacher | |
Multiple host writing to the same empty file at the same time could have overwritten each other's newly created file header, leading to data corruption. Fix the race by placing a byte-range lock on the file when creating the file header. |