diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-17 13:04:22 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-17 13:30:24 -0400 |
commit | c18aca6a6a1673d17467e25eb5c900f824c8231c (patch) | |
tree | 0ef32f822433fc6a6306db0b31640588224e19e8 /debian | |
parent | d14b4c2a607409fbec81fedd2cc89ee77ba6a62e (diff) |
avoid crash when starting fsck --incremental when one is already running
Turns out sqlite does not like having its database deleted out from
underneath it. It might suffice to empty the table, but I would rather
start each fsck over with a new database, so I added a lock file, and
running incremental fscks use a shared lock.
This leaves one concurrency bug left; running two concurrent fsck --more
will lead to: "SQLite3 returned ErrorBusy while attempting to perform step."
and one or both will fail. This is a concurrent writers problem.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions