summary refs log tree commit diff
path: root/tests/crypto
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-07 17:34:20 +0100
committerErik Johnston <erik@matrix.org>2017-06-07 17:39:36 +0100
commit197bd126f09b0df42b2cbb0bd7e121b04ab9d670 (patch)
treed9ff1eaeebc879138f1982c1f51e3e8667d85baa /tests/crypto
parentMerge branch 'release-v0.21.0' of github.com:matrix-org/synapse (diff)
downloadsynapse-197bd126f09b0df42b2cbb0bd7e121b04ab9d670.tar.xz
Fix bug where state_group tables got corrupted
This is due to the fact that we prefilled caches using txn.call_after,
which always gets called including on error.

We fix this by making txn.call_after only fire when a transaction
completes successfully, which is what we want most of the time anyway.
Diffstat (limited to 'tests/crypto')
0 files changed, 0 insertions, 0 deletions