fuweng11 commented on code in PR #9865:
URL: https://github.com/apache/inlong/pull/9865#discussion_r1533766527


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/sort/SortConfigListener.java:
##########
@@ -125,6 +126,13 @@ public ListenerResult listen(WorkflowContext context) 
throws WorkflowListenerExc
 
         try {
             for (InlongStreamInfo streamInfo : streamInfos) {
+                // do not build sort config if the group mode is offline and 
the stream is not config successfully
+                if 
(InlongConstants.DATASYNC_OFFLINE_MODE.equals(groupInfo.getInlongGroupMode())
+                        && 
!StreamStatus.CONFIG_SUCCESSFUL.getCode().equals(streamInfo.getStatus())) {

Review Comment:
   Ditto.



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