LOCK COMMAND does not require primaries at the start

pull/6057/head
Onder Kalaci 2022-07-13 14:08:49 +02:00
parent 79fd5eca8a
commit 8ab696f7e2
1 changed files with 1 additions and 1 deletions

View File

@ -2505,7 +2505,7 @@ SchemaOwnerName(Oid objectId)
static bool
HasMetadataWorkers(void)
{
List *workerNodeList = ActivePrimaryNonCoordinatorNodeList(NoLock);
List *workerNodeList = ActiveReadableNonCoordinatorNodeList();
WorkerNode *workerNode = NULL;
foreach_ptr(workerNode, workerNodeList)