mirror of https://github.com/citusdata/citus.git
remove_socket_check
parent
3abaaaad1f
commit
11ff4a1faf
|
@ -666,7 +666,6 @@ static WorkerPool * FindOrCreateWorkerPool(DistributedExecution *execution,
|
||||||
char *nodeName, int nodePort);
|
char *nodeName, int nodePort);
|
||||||
static WorkerSession * FindOrCreateWorkerSession(WorkerPool *workerPool,
|
static WorkerSession * FindOrCreateWorkerSession(WorkerPool *workerPool,
|
||||||
MultiConnection *connection);
|
MultiConnection *connection);
|
||||||
static bool RemoteSocketClosedForNewSession(WorkerSession *session);
|
|
||||||
static void ManageWorkerPool(WorkerPool *workerPool);
|
static void ManageWorkerPool(WorkerPool *workerPool);
|
||||||
static bool ShouldWaitForSlowStart(WorkerPool *workerPool);
|
static bool ShouldWaitForSlowStart(WorkerPool *workerPool);
|
||||||
static int CalculateNewConnectionCount(WorkerPool *workerPool);
|
static int CalculateNewConnectionCount(WorkerPool *workerPool);
|
||||||
|
@ -5489,6 +5488,8 @@ BuildWaitEventSet(List *sessionList, bool socketClosedOnly)
|
||||||
|
|
||||||
CitusAddWaitEventSetToSet(waitEventSet, WL_POSTMASTER_DEATH, PGINVALID_SOCKET, NULL,
|
CitusAddWaitEventSetToSet(waitEventSet, WL_POSTMASTER_DEATH, PGINVALID_SOCKET, NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
if (!socketClosedOnly)
|
||||||
CitusAddWaitEventSetToSet(waitEventSet, WL_LATCH_SET, PGINVALID_SOCKET, MyLatch,
|
CitusAddWaitEventSetToSet(waitEventSet, WL_LATCH_SET, PGINVALID_SOCKET, MyLatch,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue