-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PatchDB concurrency startup problem #4825
Labels
Before Beta
If these are open we can't really call ourselves beta
Bug Report
Item submitted using the Bug Report template
Patch Browser
Milestone
Comments
Oh and this ties to #2359 as well of course. |
baconpaul
added
the
Before Beta
If these are open we can't really call ourselves beta
label
Sep 6, 2021
baconpaul
added a commit
to baconpaul/surge
that referenced
this issue
Sep 15, 2021
1. Improve concurrency both in and cross process a. open one connection per thread b. close the readwrite connection when not in use c. since (a) we can do nomutex and therefore d. since (c) and (b) not lock across processes 2. Add a 'debug junk' table and a 'debug' button to write into it to test for now Addresses byt does not yet fully resolve surge-synthesizer#4825
baconpaul
added a commit
that referenced
this issue
Sep 16, 2021
1. Improve concurrency both in and cross process a. open one connection per thread b. close the readwrite connection when not in use c. since (a) we can do nomutex and therefore d. since (c) and (b) not lock across processes 2. Add a 'debug junk' table and a 'debug' button to write into it to test for now Addresses byt does not yet fully resolve #4825
baconpaul
added a commit
to baconpaul/surge
that referenced
this issue
Sep 19, 2021
1. Don't lock the db so carelessly 2. Deal better with favorites not being there 3. Show some countdown stats (Closes surge-synthesizer#4826 although the UI needs doing) Addresses surge-synthesizer#4825 also
baconpaul
added a commit
to baconpaul/surge
that referenced
this issue
Sep 19, 2021
1. Don't lock the db so carelessly 2. Deal better with favorites not being there 3. Show some countdown stats (Closes surge-synthesizer#4826 although the UI needs doing) Addresses surge-synthesizer#4825 also
baconpaul
added a commit
that referenced
this issue
Sep 20, 2021
2 tasks
baconpaul
added a commit
to baconpaul/surge
that referenced
this issue
Nov 14, 2021
Useful for reproducing surge-synthesizer#4825
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Before Beta
If these are open we can't really call ourselves beta
Bug Report
Item submitted using the Bug Report template
Patch Browser
Basically as mentioned in #4824 we have a nasty startup semi-race.
It used to result in uncaught exceptions which were of course very bad
but now it makes a splattage of surge errors
here's how
remove the patches db
start two instances of the plugin in logic or reaper or whatnot
shift-click patch browser in both
this basically starts both populating the database
BUT one of them will get a locked / sqlite3_busy (5) message
which will explode them
So we could do a lot of things but I think the trick is
BEGIN IMMEDIATE
when we start our transactionsomething like that replacing the TxnGuard class we hav wrapped around the 'go'
The text was updated successfully, but these errors were encountered: