Colocation Lock changed to ShareLock

onder/fix/reference-lock-contention
Onder Kalaci 2022-08-17 10:16:25 +02:00
parent dbbc65693d
commit 93210ea736
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ EnsureReferenceTablesExistOnAllNodesExtended(char transferMode)
* Since the changes to the reference table placements are made via loopback
* connections we release the final lock held at the end of this function.
*/
LOCKMODE lockmodes[] = { AccessShareLock, ExclusiveLock };
LOCKMODE lockmodes[] = { ShareLock, ExclusiveLock };
for (int l = 0; l < lengthof(lockmodes); l++)
{
LockColocationId(colocationId, lockmodes[l]);