Skip to content

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