Skip to content

Conversation

@jnm
Copy link
Member

@jnm jnm commented Oct 25, 2018

Try not to do any locking until as close as possible to the end of the
transaction. Closes #490.

We should be able to delete https://github.com/kobotoolbox/kobocat/tree/defer-submission-count after this is merged.

jnm added 2 commits October 25, 2018 03:16
Try not to do any locking until as close as possible to the end of the
transaction. Closes #490
@jnm jnm requested a review from noliveleger October 25, 2018 08:28
@noliveleger noliveleger merged commit 504fbb9 into master Oct 31, 2018
@noliveleger noliveleger deleted the 490-optimize-submission-count-locking branch October 31, 2018 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database logjam due to lock on logger_xform inside a slow transaction

3 participants