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
runJobs returns Error: 1213 Deadlock found when trying to get lock
during SMW::writePropertyTableRowUpdates-delete
#214
Comments
I've never seen those before but it would be interesting if the entries correlate with those that show double entries.
No one has work on the SQLStore writer code for ages, I would be surprised if it were to disappear. Some issues found in relation with MW and
@JeroenDeDauw Any idea what |
Tests of these two reveal no duplicates. Interesting idea though. |
I don't know about this error... Though if people already ran into it with 1.7.2, than we know it is at least not yet another SQLStore3 regression. |
This is continuing to happen. There seems to have been some change since I don't recall every seeing one of these messages before about 2 weeks ago. I’m continuing to see a couple a day.
I’m not sure how to even start with debugging this. :-\ |
Increase is frequency might be caused by additional jobs @mwjames added |
Unless you have set the following configuration, no additional jobs are created because #204 and #152 have neither been merged nor implemented.
The class that reports the problem What means "Error: 1213 Deadlock found when trying to get lock" ?
It is a native DB message where the writer class invokes Since it is coming from the MW DB (or MySQL), I'm not really sure what it actually means but looking at bugzilla, wikibase had once a similar message which they resolved by using something like $dbw->deadlockLoop( ... ). Not knowing what "Deadlock found" really means I looked for some hints and saw a comment from Aaron Schulz which states that
or Niklas Laxström that
MW releaseCan the start of the occurrence correlate with an update to an MW release/patch? |
We need a stack trace, so when running |
DatabaseBase::deadlockLoopAccording to classDatabaseBase:
See also the search results on deadlockLoop within MW. |
Another possibility is that if configurations like |
More research on the deadlock topic with MySQL explaining:
As noted earlier, the SQLStore currently does not make use of |
@thingles I take it this no longer occurs? |
While the cause is still unclear, we hope by facilitating the |
I’m currently running f4782a8 (few days old) and I've seen fairly random deadlock errors coming from my cron-based
runJobs.php
call. The error isI haven't seen this error before. I haven't debugged this, but I’m seeing about 3-8 of them a day under normal usage. I wanted to note it in this issue. I’m going to update to newest commit and we'll see if they persist.
The text was updated successfully, but these errors were encountered: