-
Notifications
You must be signed in to change notification settings - Fork 66
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
Database Rollback failed on Deadlock #637
Comments
If a change to I'll have a look and see if there's anywhere we're missing the use of transactions - but does this still occur after you upgrade to Neo 3.3.0? |
Thank you for the quick fix on 3.3.0 and thanks for looking into it. I will keep you posted. Unfortunately I'm very sure that 3.3.0 and the "scrambling" problem are unrelated. Our blocks would also show up on parents they are not allowed to be inside. So I was hoping to find a reasonable solution – as I cannot reproduce it, but it occurs to our authors so often that we have to lock our backend to all 35 users as also to remove Typed Link Field, as it was involved in the lock. |
For some context, the problem might also be, that there was no savepoint to rollback to? This is from the logs:
|
Hi Thomas, sorry I have to reopen this. We still experience a myriad of problems. I do not know if NEO is the alone cause of this. But as Neo behaves strangely (bocks deleting content, etc.) I place it here. At the moment nobody can work in the backend without breaking the content. I hope you can help us get to a stable state again: Here's two deadlocks from this morning. We moved from a load balanced environment to a simple server. But we still get therese deadlocks.
On another note here's the additional problems we experience right now:
Currently we're in the process of trying to replicate it in a vanilla Craft install. Thats our current setup (we already removed Typed Link Field and LJ dynamic fields): "born05/craft-assetusage": "3.0.0", |
I can provoke the "A provisional draft already exists for element/user 2206/1." error in a vanilla Craft install with only Neo installed. But I have no clear way to reproduce it. When I can, then with a Neo child, that contains a Matrix field with two fields. It also seems that installing SEOmatic or Typed Link Field make it appear more frequent. |
Hi all, I would like to add my observation into the context here: What happens: Content disappears on save when validation warning has been previously triggered. How to reproduce:
System specs: I managed to reproduce it on the fresh craft install. Craft Pro 4.2.1.1 To watch it in action: Screen.Recording.2022-08-19.at.16.06.42.mov |
@maxstrebel When the provisional draft error occurs, do you get more than one POST at the same time to e.g. @ntmagda I think that's unrelated to this issue, but I've added a fix for that (1c19aff) in Neo 3.3.4. |
I guess this might have been several different issues at the end.
Thus I'll close this for now. And thanks for the scramble fix 🙏 |
Description
We experience a lot of problems with our page builder right now. With backend users reporting scrambled blocks and lost blocks. You might want to have a closer look. But in general, since our Upgrade to Craft 4 the blocks will scramble (show up at other places on the page) or vanish.
Right now we remove "Typed Link Field" from our content builder, in the hope we can get rid of some of the problems. When we tested, we found a Deadlock (
SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock;
), that luckily was investigated by our webhost. I will quote quickly:For me this looks like a possible explanation for what we are experiencing. Can you confirm, that this might be an issue?
Here is the deadlock:
Any help would be hugely appreciated. Thank you for your time.
Steps to reproduce
It is hard to reproduce. We've had authors working in the backend for testing. After 4 hours of testing the authors provoked 4 deadlocks. But there was no indication why. There were entries with a lot of blocks, but there was also one entry affected with only one redactor and one link block.
Other information
The text was updated successfully, but these errors were encountered: