Skip to content
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

WIP: Bugfix projections with deadlock subscription behaviour #5510

Draft
wants to merge 1 commit into
base: 9.0
Choose a base branch
from

Conversation

mhsdesign
Copy link
Member

Introduces a basic ProjectionWithDeadlockTest to further test behaviour in exceptional cases when transaction seems to timeout

The test is currently wayy to slow and must be improved by causing a timeout faster.

This is done to investigate into a bug where the graph projection failed to catchup a ContentStreamWasForked event:

Failed to insert hierarchy relation: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction

At

throw new \RuntimeException(sprintf('Failed to insert hierarchy relation: %s', $e->getMessage()), 1716489211, $e);

(see slack)

…aviour in exceptional cases when transaction seems to timeout
@github-actions github-actions bot added the 9.0 label Mar 11, 2025
@mhsdesign
Copy link
Member Author

It keeps the ci busy 🙈 -> lol where is the timeout!!!??!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant