-
Notifications
You must be signed in to change notification settings - Fork 871
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
Cannot unlock a never acquired lock #3641
Comments
Hi, |
seem like it work again for orientdb-m3 version. what is the different in between orientdb-m3 and orientdb-2.0.3 |
@martingg88 they are different in thousands lines of codes. Could you answer on my questions above ? |
i'm sorry about that. it's hard to catch this issue as it is not happen oftenly. will update you once i have this issue again. |
@Laa... this happen again in turn cause error "Error on retrieving record". this acquired lock will happen if i run the program for few times. FYI, the program only execute the following sql and then caused this issue. I bet this is only happen over http protocol. SELECT EXPAND(out("follow")[@Class ="interest"]) FROM #23:28. here is the simple database schema that caused that issue. user follow interest userfollowctime mtime interest |
Emanuele could you look at this ? |
any update on this? {db=sport} Error on fetching record during browsing. The record has been skipped |
hi guys... we got a big issue here for our production line that will cause our web system down/corrupted in every one hour due to the orientdb lock/deadlock issue. i'm looking forward this issue can be solved soon. thanks. |
What OrientDB version? Please always specify it. |
2.0.5 version |
@martingg88 is this error happening in your case in distributed environment or standalone? |
it happen to both cases. |
fyi. you will have this issue if you are executing your query by using the node.js async parallel. here is the async library.. |
fyi to ease ur developing process. if you try to run the following simple query with multiple times in async way and most likely you will get the lock issue.
|
This should be resolved in 2.0.7-SNAPSHOT and 2.1-SNAPSHOT. Please could you try it? |
sure..i will test it. let me know once you guys release 2.0.7-SNAPSHOT and 2.1-SNAPSHOT. thanks. |
@martingg88 I'm going to release 2.0.7 and 2.1-rc1, but I'd like to have the confirm this issue is gone. Please could you try with 2.0.7-SNAPSHOT? |
sure. i will try it and keep you posted. thanks for your effort |
Has this issue been confirmed to be resolved in 2.0.7 ? |
sorry. i have been busy on these few weeks. i will test it next week and let you know about the outcome. thanks. |
@lvca. I still facing this issue for version 2.0.8 even i have following setting my website is totally dead once i hit this issue |
this issue is more critical part that will cause the server down. can we put the high priority to issue? |
Increased priority to HIGH |
@martingg88 What's the reason to have only three selects in transaction without other data modification commands? |
FYI. You will have this issue if you run the following simple query multiple times by using the node.js async parallel. bear in mind it is just a simple query without batch anymore. a. insert into interest SET title = ? |
any update on this issue? |
I am on it. |
many thanks for you effort |
Actually I fixed it. Funny issue. I will push code which you may try. |
what the funny about? can you share with me? |
keep me updated when you push the code, so i can test it out |
records reused during select, to decrease of gc overhead, but side effect is that identity of locked object was changed inside of lock manager so you would not able to unlock it. |
ic...hope the next release will make sure the lock/unlock can be work without any issue. if not.. my server will be crashing for lock issue. anyway...many thanks for your efforts. |
when you guys can release this ? we really need this urgently. if not my server will be crashing few times in a day and my client start making noise about this issue. hope we can have this issue solved sooner. Many thanks. |
Hey Martin Were you able to confirm the resolution of this issue in 2.1-rc2 ? |
i have reopen this case at #4090 |
The following transaction caused "Cannot unlock a never acquired lock".
i guess the second let query (etc: user) can't retrieve account data as the first let query (etc: account) still lock the account class. any idea how to solve this issue?
BEGIN
LET account = SELECT * FROM account WHERE email = "cl@hotmail.com" LIMIT 1
LET user = SELECT EXPAND(in("own")) FROM account WHERE email = "cl@hotmail.com"
LET payment = SELECT EXPAND(out("own")[@Class =payment]) FROM $user
COMMIT
The text was updated successfully, but these errors were encountered: