Skip to content

Periodically commit db transaction and flush on very large files #157

Description

@crass

What problem would this solve?

I have a file that is estimated to take 12+ hours to hash. The hashing was interrupted by a power outtage. It would be nice if the hashing didn't have to start from the beginning. Presumably, the hash values for blocks and extents haven't changed and now that the file hash is a hash of extent hashes, oans shouldn't need to rehash from the beginning.

Proposed solution

Periodically commit the transaction force the hash file to be written to disk (if --hashfile was given).

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions