Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Retry event persistence on IntegrityError #983

Merged
merged 2 commits into from
Aug 4, 2016

Conversation

erikjohnston
Copy link
Member

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 urged for all references to the events being persisted.

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.
@NegativeMjark
Copy link
Contributor

LGTM

@erikjohnston erikjohnston merged commit 835ceee into develop Aug 4, 2016
@richvdh richvdh deleted the erikj/retry_on_integrity_error branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants