View Single Post
Old 03-09-2025, 09:18 PM   #7
abrogard
Groupie
abrogard began at the beginning.
 
Posts: 168
Karma: 10
Join Date: May 2017
Device: kindle
Quote:
Originally Posted by BetterRed View Post
I got a voice call interrupt - but I'll leave this here anyway

The metadata.opf files are written in a separate background thread…known as 'lazy writes'. Last time I looked it they were written at intervals of about 2 secs. If calibre is closed whilst there are outstanding metadata.opf writes the process will continue next time calibre is started.

@abrogard - the Library maintenance->Library metadata backup status action will report how many are outstanding.

The calibredb backup_metadata command can be used to flush outstanding lazy-writes of metadata.opf files. I include it in my daily backup process.

Library closed plugin to flush any outstanding lazy writes of metadata.opf files for all known libraries.

BR
Well that's very interesting. Perhaps explains why the metadata screen reports 'not responding' whilst I'm waiting.
I wondered what was not responding and surmised it must be some function being called. So that's it. Fine.

But it would seem to suggest I can stack up a queue of updates though, and I can't see that I can. Be fine if I could: I'd just keep going on editing and let it all sort itself out later... good... just what computers are for...

I cannot continue with my editing until that metadata update screen clears.
abrogard is offline   Reply With Quote