citus/src/backend
Jelte Fennema c62b756f34
Fix new method of locking shard distribition metadata (#3407)
In #3374 a new way of locking shard distribution metadata was
implemented. However, this was only done in the function
`LockShardDistributionMetadata` and not in
`TryLockShardDistributionMetadata`. This is bad, since it causes these
locks to not block eachother in some cases.

This commit fixes this issue by sharing the code that sets the locktag
between the two function.
2020-01-22 16:44:17 +01:00
..
distributed Fix new method of locking shard distribition metadata (#3407) 2020-01-22 16:44:17 +01:00
.gitignore Initial commit of Citus 5.0 2016-02-11 04:05:32 +02:00