summary refs log tree commit diff
path: root/jenkins-sqlite.sh
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-04 15:02:15 +0100
committerErik Johnston <erik@matrix.org>2016-08-04 15:02:15 +0100
commit59fa91fe8871041f8a2e3da77255927b00e028af (patch)
treedc82cfcc2becb763d90c3ba49ae459449e40b231 /jenkins-sqlite.sh
parentMerge pull request #982 from matrix-org/erikj/fix_port_script (diff)
downloadsynapse-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 '')
0 files changed, 0 insertions, 0 deletions