Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop history update_time triggers and replace with session listener / update query #10254

Closed
wants to merge 3 commits into from

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Sep 21, 2020

That's an attempt to fix #10245 ... my hunch is that the trigger and the ORM's on_update function are colliding. I could be totally wrong though, and I also don't have a good way to test if this really fixes anything, but overall not using triggers might give us a better shot at figuring out on the application level where the deadlock occurs. maybe.

Let's see if this even passes tests.

@mvdbeek mvdbeek force-pushed the drop_triggers branch 2 times, most recently from 90496e9 to 2bb038e Compare September 21, 2020 16:31
@galaxybot galaxybot added this to the 21.01 milestone Sep 21, 2020
@mvdbeek mvdbeek mentioned this pull request Oct 1, 2020
@mvdbeek mvdbeek changed the base branch from dev to release_20.09 November 27, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database deadlock
3 participants