Skip to content
Permalink
Browse files
HAWQ-1805. checkQDConnectionAlive when SendEosUDP
  • Loading branch information
ztao1987 committed Sep 11, 2021
1 parent 67e4560 commit 9dddc2be656050503e2b8c7157e53067c1ca3183
Showing 1 changed file with 3 additions and 2 deletions.
@@ -5461,15 +5461,16 @@ checkExceptions(ChunkTransportState *transportStates, ChunkTransportStateEntry *
}
}

if ((retry & 0x3) == 0)
if ((retry & 0x3) == 2)
{
checkDeadlock(pEntry, conn);
checkRxThreadError();
ML_CHECK_FOR_INTERRUPTS(transportStates->teardownActive);
}

/* NIC on master (and thus the QD connection) may become bad, check it. */
if ((retry & 0x3f) == 0)
/* We check modulo 2 in case that 'retry' all less than 0x3f */
if ((retry & 0x3f) == 2)
checkQDConnectionAlive();
}

0 comments on commit 9dddc2b

Please sign in to comment.