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)
|
||||
{
|
||||
StartTransactionCommand();
|
||||
foundDeadlock = CheckForDistributedDeadlocks();
|
||||
|
||||
/*
|
||||
* We don't want to run the deadlock checks if there exists
|
||||
* any version mistmatch.
|
||||
*/
|
||||
if (CheckCitusVersion(DEBUG1))
|
||||
{
|
||||
foundDeadlock = CheckForDistributedDeadlocks();
|
||||
}
|
||||
|
||||
CommitTransactionCommand();
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue