Files
mostlymatter/store/sqlstore
Agniva De Sarker 446306a274 MM-38419: Split UPSERT statement into 2 (#19536)
The UPSERT statement was taking unexplained gap
locks, due to which the import was somehow failing.
I still don't know exactly how this is happening.

But splitting the UPSERT into 2 different statements
in the same transaction changes the locking semantics,
and avoids the deadlock.

Naturally, this proves that even our retrylayer
is sometimes ineffective against some problems.

```release-note
NONE
```
2022-02-11 13:54:47 +05:30
..
2021-08-17 16:08:04 -04:00
2022-02-04 15:34:10 +02:00