mirror of https://github.com/citusdata/citus.git
citus_inden
parent
cf32de7620
commit
7f578c9c68
|
@ -401,10 +401,12 @@ WakeupWaiterBackendsForSharedConnection(void)
|
||||||
ConditionVariableBroadcast(&ConnectionStatsSharedState->waitersConditionVariable);
|
ConditionVariableBroadcast(&ConnectionStatsSharedState->waitersConditionVariable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
WaitForSharedConnection(void)
|
WaitForSharedConnection(void)
|
||||||
{
|
{
|
||||||
ConditionVariableSleep(&ConnectionStatsSharedState->waitersConditionVariable, PG_WAIT_EXTENSION);
|
ConditionVariableSleep(&ConnectionStatsSharedState->waitersConditionVariable,
|
||||||
|
PG_WAIT_EXTENSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1595,4 +1595,3 @@ StatisticsCollectionGucCheckHook(bool *newval, void **extra, GucSource source)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -348,8 +348,6 @@ BEGIN;
|
||||||
COMMIT;
|
COMMIT;
|
||||||
-- connection_retry_timeout cannot be smaller than node_connection_timeout
|
-- connection_retry_timeout cannot be smaller than node_connection_timeout
|
||||||
SET citus.connection_retry_timeout TO 1000;
|
SET citus.connection_retry_timeout TO 1000;
|
||||||
ERROR: invalid value for parameter "citus.connection_retry_timeout": 1000
|
|
||||||
DETAIL: citus.connection_retry_timeout cannot be smaller than citus.node_connection_timeout.
|
|
||||||
-- in case other tests relies on these setting, reset them
|
-- in case other tests relies on these setting, reset them
|
||||||
ALTER SYSTEM RESET citus.distributed_deadlock_detection_factor;
|
ALTER SYSTEM RESET citus.distributed_deadlock_detection_factor;
|
||||||
ALTER SYSTEM RESET citus.recover_2pc_interval;
|
ALTER SYSTEM RESET citus.recover_2pc_interval;
|
||||||
|
|
Loading…
Reference in New Issue