-
-
Notifications
You must be signed in to change notification settings - Fork 237
TASK: Provide parallel tests attempting to replicate deadlocks #5513
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
base: 9.0
Are you sure you want to change the base?
Conversation
Also longer runs under more stress dont cause any exceptions / timeouts or deadlocks `@@tx_isolation` is `REPEATABLE-READ` my mariadb default
| ]) | ||
| )); | ||
|
|
||
| for ($i = 0; $i <= 500; $i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when i increase the number of nodes here, forking just gets really slow but the two processes never timeout.
> An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction
|
@kitsunet Bernard checked his db production setting and With that exact setting and the now added test
Lets see how we can make that Edit: Actually its only the same message but not the same point in failure as the bugreport. Line 185 in b1168c4
-> if i comment out that logic i get another failure
Bernhards bug was NOT in a simulation as far as I can think because the subscription had an failure and that can only happen during the actual catchup. |
In #5510 i attempted to cause a locking problem manually and see how the subscription engine reacts.
Now these tests are actual parallel tests were we thought we could replicate the problem of a
ContentStreamWasForkedevent failing(see slack)
Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX!!!and have upgrade-instructions