Turn on full file verification
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dmedia |
Fix Released
|
High
|
Jason Gerard DeRose |
Bug Description
In addition to running the scan and relink background tasks by default, we're also now going to turn on full-content-hash verification. We've had the functionality for quite a long time, but it's never been turned on by default.
Initially this is going to be very dumb: it will run whenever there are files that have gone more than 1 week without full verification (on the connected filestores, as that's the only thing it can verify, obviously). But this is something that eventually we'll want to be more selective with. For example, we probably don't want to run this when on battery power, or when importing, or when for other reasons the system load is high.
But all the same, having this running by default is needed to be production ready, and with time we can tune this to be more intelligent about when it runs.
Related branches
- David Jordan: Approve
-
Diff: 308 lines (+160/-8)5 files modifieddmedia-service (+1/-1)
dmedia/core.py (+45/-3)
dmedia/metastore.py (+35/-4)
dmedia/tests/test_core.py (+34/-0)
dmedia/tests/test_metastore.py (+45/-0)
Changed in dmedia: | |
status: | In Progress → Fix Committed |
Changed in dmedia: | |
status: | Fix Committed → Fix Released |