I bet that it requires a combination of events to trigger database corruption.
Something like:
* books recently imported or position within a book recently saved or books recently deleted or import recently completed (but none of those flushed to disk yet)
* either reading a book (so database is held open) or cover generation in progress, or something else running in the background, any of which might prevent the disk from being unmounted and buffers flushed
* USB connect attempted before the above complete...
In that state, you might have the host and the kobo both having the disk open, and the database could get corrupted.
|