You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by av...@apache.org on 2024/12/27 11:17:47 UTC
(cloudberry) 08/13: tcp-ic: Add more detail to register msg error
This is an automated email from the ASF dual-hosted git repository.
avamingli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 561dd884e9b3fed3a63905c58f6adeaf965f5b36
Author: Soumyadeep Chakraborty <so...@gmail.com>
AuthorDate: Fri Sep 23 11:59:25 2022 -0700
tcp-ic: Add more detail to register msg error
---
contrib/interconnect/tcp/ic_tcp.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/contrib/interconnect/tcp/ic_tcp.c b/contrib/interconnect/tcp/ic_tcp.c
index 95bfb8e9dc..1c4531dfbe 100644
--- a/contrib/interconnect/tcp/ic_tcp.c
+++ b/contrib/interconnect/tcp/ic_tcp.c
@@ -1014,11 +1014,15 @@ readRegisterMessage(ChunkTransportState * transportStates,
(errcode(ERRCODE_GP_INTERCONNECTION_ERROR),
errmsg("interconnect error: Invalid registration message received from %s",
conn->remoteHostAndPort),
- errdetail("sendSlice=%d recvSlice=%d srcContentId=%d srcPid=%d srcListenerPort=%d srcSessionId=%d srcCommandCount=%d motnode=%d",
+ errdetail("sendSlice=%d recvSlice=%d srcContentId=%d srcPid=%d "
+ "srcListenerPort=%d srcSessionId=%d srcCommandCount=%d "
+ "motnode=%d transportStates->size=%d "
+ "transportStates->sliceId=%d",
msg.sendSliceIndex, msg.recvSliceIndex,
msg.srcContentId, msg.srcPid,
msg.srcListenerPort, msg.srcSessionId,
- msg.srcCommandCount, msg.sendSliceIndex)));
+ msg.srcCommandCount, msg.sendSliceIndex,
+ transportStates->size, transportStates->sliceId)));
}
/*
@@ -1048,9 +1052,13 @@ readRegisterMessage(ChunkTransportState * transportStates,
(errcode(ERRCODE_GP_INTERCONNECTION_ERROR),
errmsg("interconnect error: Invalid registration message received from %s",
conn->remoteHostAndPort),
- errdetail("sendSlice=%d srcContentId=%d srcPid=%d srcListenerPort=%d",
- msg.sendSliceIndex, msg.srcContentId,
- msg.srcPid, msg.srcListenerPort)));
+ errdetail("sendSlice=%d recvSlice=%d srcContentId=%d srcPid=%d "
+ "srcListenerPort=%d srcSessionId=%d srcCommandCount=%d "
+ "motnode=%d iconn=%d",
+ msg.sendSliceIndex, msg.recvSliceIndex,
+ msg.srcContentId, msg.srcPid,
+ msg.srcListenerPort, msg.srcSessionId,
+ msg.srcCommandCount, msg.sendSliceIndex, iconn)));
}
/*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org