Skip to content

repo-updater: Change Postgres isolation level to default

Created by: tsenart

We have no current requirements that justify serializable isolation level and on sourcegraph.com it can lead to errors such as these:

pq: could not serialize access due to concurrent update

Since in repoLookup concurrent writes to the same repo are idempotent, it's better for concurrent requests to succeed like this, rather than only one succeeding and others failing.

Fixes part of #10930 (closed)

Merge request reports

Loading