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

Fix UniqueConstraintViolationException while insert into oc_filecache #12411

Merged
merged 1 commit into from
Nov 12, 2018

Commits on Nov 12, 2018

  1. Fix UniqueConstraintViolationException while insert into oc_filecache

    * fixes #6160 by not being prone to the race condition in insertIfNotExists
    * fixes #12228 by not using a query that can result in a deadlock
    * replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block
    
    Signed-off-by: Morris Jobke <hey@morrisjobke.de>
    MorrisJobke committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    93c62d7 View commit details
    Browse the repository at this point in the history