diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-04 15:02:15 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-04 15:02:15 +0100 |
commit | 59fa91fe8871041f8a2e3da77255927b00e028af (patch) | |
tree | dc82cfcc2becb763d90c3ba49ae459449e40b231 /synapse/api/urls.py | |
parent | Merge pull request #982 from matrix-org/erikj/fix_port_script (diff) | |
download | synapse-59fa91fe8871041f8a2e3da77255927b00e028af.tar.xz |
Retry event persistence on IntegrityError
Due to a bug in the porting script some backfilled events were not correctly persisted, causing irrecoverable IntegrityErrors on future attempts to persist those events. This commit adds a retry mechanism invoked upon IntegrityError, where when retried the tables are purged for all references to the events being persisted.
Diffstat (limited to 'synapse/api/urls.py')
0 files changed, 0 insertions, 0 deletions