Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f5fc027

Browse files
committed
fix possible uninitialized status for poll status of unexisted tx
1 parent 3846ecb commit f5fc027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arbiter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ static void MtmReceiver(Datum arg)
977977
if (status == TRANSACTION_STATUS_UNKNOWN)
978978
{
979979
MTM_ELOG(WARNING, "Request for unexisted transaction %s from node %d", msg->gid, node);
980+
msg->status = TRANSACTION_STATUS_ABORTED;
980981
}
981982
else
982983
{

0 commit comments

Comments
 (0)