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

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

ed.j
Posts: 201
Joined: Thu May 19, 2011 1:44 pm

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

Post by ed.j »

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.
Lowlander
Posts: 56801
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

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

Post by Lowlander »

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.
Ludek
Posts: 4979
Joined: Fri Mar 09, 2007 9:00 am

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

Post by Ludek »

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.
ed.j
Posts: 201
Joined: Thu May 19, 2011 1:44 pm

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

Post by ed.j »

Hi guys - this wasn't using a debug build. MM 5.0.4.2765.
rusty
Posts: 8444
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

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

Post by rusty »

Hi,

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

-Rusty
Post Reply