mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #34] Locking issues after update from 1.5.0 to >=1.6.0 (bug?) #27
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pmioduszewski on GitHub (Jun 3, 2021).
Original GitHub issue: https://github.com/appy-one/acebase/issues/34
Originally assigned to: @appy-one on GitHub.
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
@appy-one commented on GitHub (Jun 4, 2021):
I ran into the same issue this week, I will be publishing an update today that should fix it
@appy-one commented on GitHub (Jun 4, 2021):
I have just published version 1.6.3, can you confirm this fixes your locking issue?
@pmioduszewski commented on GitHub (Jun 4, 2021):
Now everything works fast but still getting locking issues in the console. 🤔
@appy-one commented on GitHub (Jun 4, 2021):
Can you enable verbose logging in AceBase's settings and post the details? eg use:
new AceBase('dbname', { logLevel: 'verbose' })@appy-one commented on GitHub (Jun 4, 2021):
Please let me know how to reproduce this. Can you submit code?
@pmioduszewski commented on GitHub (Jun 5, 2021):
This is strange, this lock issue appears in a random way now. I'm trying to find out minimal code to reproduce.
@appy-one commented on GitHub (Jun 6, 2021):
Another something that might help me investigating.. Is your code running in a cluster (eg using
cluster.fork())?@appy-one commented on GitHub (Jun 8, 2021):
Also, do you have indexes on the data? Please give me some more info, this needs to be fixed asap!
@pmioduszewski commented on GitHub (Jun 9, 2021):
Sorry, I've been really busy lately.
I've just sent you an email :)
@appy-one commented on GitHub (Jun 9, 2021):
Thanks for the code, I managed to reproduce!
ref.count()appears to be the troublemaker here, I'll see what's going on there..@appy-one commented on GitHub (Jun 9, 2021):
I just published v1.6.4 which should fix this. Let me know if it works!
@pmioduszewski commented on GitHub (Jun 9, 2021):
now it works like a charm! gj 😁👍