Skip to content
Snippets Groups Projects
Commit 1a14df4a authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

vinyl: do not double-delete a tx from the conflict manager on rollback

In case of WAL write error, the transaction was rolled back
after successful vy_prepare(). In this case, rollback still tried
to remove the tx from the conflict manager. Double deletion lead
to crash.

Add a test case and do not remove tx twice.

Fixes gh-1681 "vinyl: crash in vy_rollback on ER_WAL_IO"
parent 7bc88b06
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment