Caideyipi commented on code in PR #18048:
URL: https://github.com/apache/iotdb/pull/18048#discussion_r3502980242
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/legacy/IoTDBLegacyPipeSink.java:
##########
@@ -278,8 +278,11 @@ private void openClientSession() throws TException {
if (openSessionResp.getStatus().getCode() !=
TSStatusCode.SUCCESS_STATUS.getStatusCode()) {
final String errorMsg =
String.format(
- "Failed to login to receiver %s:%s for legacy pipe transfer
because %s",
- ipAddress, port, openSessionResp.getStatus().getMessage());
+ "Failed to login to receiver %s:%s for legacy pipe transfer
because code: %d, message: %s",
+ ipAddress,
+ port,
+ openSessionResp.getStatus().getCode(),
+ openSessionResp.getStatus().getMessage());
Review Comment:
Fixed. The legacy pipe login failure message has been moved into
DataNodePipeMessages with both en and zh i18n entries.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]