-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Locking issues after update from 1.5.0 to >=1.6.0 (bug?) #34
Comments
I ran into the same issue this week, I will be publishing an update today that should fix it |
I have just published version 1.6.3, can you confirm this fixes your locking issue? |
Can you enable verbose logging in AceBase's settings and post the details? eg use: |
Please let me know how to reproduce this. Can you submit code? |
This is strange, this lock issue appears in a random way now. I'm trying to find out minimal code to reproduce. |
Another something that might help me investigating.. Is your code running in a cluster (eg using |
Also, do you have indexes on the data? Please give me some more info, this needs to be fixed asap! |
Sorry, I've been really busy lately. I've just sent you an email :) |
Thanks for the code, I managed to reproduce! |
- Reversed announcement/lock flow - now locks first, then announces if it wasn't not cached in the meantime. This prevents an announced lookup not resolving because it doesn't get the lock, while another (that WOULD get the lock) waits for the announcement to resolve.. - Getting child count locked the child and caused the parent lock not to be released.
I just published v1.6.4 which should fix this. Let me know if it works! |
now it works like a charm! gj 😁👍 |
Hi,
After updating acebase from 1.5.0 to 1.6.0 and higher I'm experiencing issues with "locking".
I didn't change my code and have no idea how to deal with those locking issues right now.
On 1.5.0 everything working really fast almost instantly, but on 1.6.0+ same functions take even 1 minute for lightweight tasks with
read lock on path ...
in the console.Are there any examples of "do this / don't do that" to avoid locking issues?
Node: 15.14.0
The text was updated successfully, but these errors were encountered: