Caideyipi commented on code in PR #18111:
URL: https://github.com/apache/iotdb/pull/18111#discussion_r3549712987


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/legacy/IoTDBLegacyPipeReceiverAgent.java:
##########
@@ -262,6 +203,15 @@ private SyncIdentityInfo getCurrentSyncIdentityInfo() {
     }
   }
 
+  private SessionInfo getCurrentSessionInfo() {
+    final SessionManager sessionManager = SessionManager.getInstance();
+    if (!sessionManager.checkLogin(sessionManager.getCurrSession())) {
+      throw new PipeException("Legacy pipe receiver requires a logged-in 
session.");

Review Comment:
   Fixed, thanks. Moved the message into DataNodePipeMessages for both en and 
zh locales.



-- 
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]

Reply via email to