mirror of https://github.com/citusdata/citus.git
Merge pull request #1559 from citusdata/fix_deamon_upgrade
Add version check to the maintenance daemonpull/1539/head^2
commit
dcabbc4a8e
|
@ -266,7 +266,16 @@ CitusMaintenanceDaemonMain(Datum main_arg)
|
||||||
if (DistributedDeadlockDetectionTimeoutFactor != -1.0)
|
if (DistributedDeadlockDetectionTimeoutFactor != -1.0)
|
||||||
{
|
{
|
||||||
StartTransactionCommand();
|
StartTransactionCommand();
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We don't want to run the deadlock checks if there exists
|
||||||
|
* any version mistmatch.
|
||||||
|
*/
|
||||||
|
if (CheckCitusVersion(DEBUG1))
|
||||||
|
{
|
||||||
foundDeadlock = CheckForDistributedDeadlocks();
|
foundDeadlock = CheckForDistributedDeadlocks();
|
||||||
|
}
|
||||||
|
|
||||||
CommitTransactionCommand();
|
CommitTransactionCommand();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue