>> 1) Flushing after every folder is scanned sounds like it could have a

>> significant impact on scanning performance. Using your friend's large
>> collection have you noticed any reduction in scanning speed?

I haven't rescanned the collection over again since making this change.
I can do that, though.

>I tested it with my small collection and it has a huge impact.

That doesn't surprise me.
In the worst case, we can add an "incremental library scanning" option to the 
preferences.
But the old variant will have to lock the main Mixxx window to prevent using it.
Some GUIs do that automatically when a modal dialog is displayed...I guess Qt 
doesn't?

>Reading the sqlitedb shouldn't be affected by the scanner as sqlite allows
>for multiply reads all the time, also with an open transaction.
>[...]
>As far as I understand the sqlite specs the db should never block to a read
>request, so I'm puzzled why this happens in mixxx.

AFAIK, multiple readers are OK, but there can be only one writer on a table, 
and a writer locks out readers.
That certainly seems to be how it's behaving, too.

Perhaps non-incremental library-scanning can be rewritten to create new tables 
with temporary names, then at the end, drop the old tables and move the new 
tables in their place?

>> 2) RE: returning in BSTM if the table query fails I think this looks like a
>> nice workaround to that bug
>
>Is there actually a reliable way to reproduce this error. I sometimes get it
at random and so far I failed to reproduce it with ways that other described.

I can reproduce it pretty easily by trying to click on the Library or Auto DJ 
playlists during a library rescan.

Steven Boswell
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to