Optimise/Rebuild database stalls when a folder is being monitored [#19506]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Optimise/Rebuild database stalls when a folder is being monitored [#19506]

Re: Optimise/Rebuild database stalls when a folder is being monitored [#19506]

by rusty » Sat Oct 29, 2022 6:08 pm

Hi,

We just posted build 2679 (RC-4) -- can you give it a try to see if the fix works for you?

-Rusty

Re: Optimise/Rebuild database stalls when a folder is being monitored [#19506]

by ed.j » Fri Oct 28, 2022 10:15 am

Hi guys - this wasn't using a debug build. MM 5.0.4.2765.

Re: Optimise/Rebuild database stalls when a folder is being monitored

by Ludek » Wed Oct 26, 2022 7:06 am

Hi, thanks for reporting, I see why this can happen!

Will be fixed as https://www.ventismedia.com/mantis/view.php?id=19506
Seems to be an issue only with debug builds and when the file monitor thread is waiting for DB write access more than 60 seconds.

Re: Optimise/Rebuild database stalls when a folder is being monitored

by Lowlander » Tue Oct 25, 2022 6:13 pm

Which Build (Help > About) of MediaMonkey are you using? I tried several manage database functions while adding files to a Monitored folder and it all worked as expected on 5.0.4.2676. Scanning was triggered after manage database finished.

Optimise/Rebuild database stalls when a folder is being monitored [#19506]

by ed.j » Tue Oct 25, 2022 10:26 am

I don't want to attempt to recreate this as I would like to keep my database non-corrupted.

However - if you attempt to Optimize/Rebuild the database while MM is actively monitoring a folder - I think in my case adding a large amount of music to the library too - MM will indefinitely hang.

This kind of makes sense because the db is being updated during this process - so suggest the db tools are made unavailable whilst DB being updated.

Top