You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/12/16 02:47:54 UTC

[GitHub] [flink] chucheng92 commented on a diff in pull request #21513: [FLINK-30424][DataStream API] Add source operator addSplits log when restore from state

chucheng92 commented on code in PR #21513:
URL: https://github.com/apache/flink/pull/21513#discussion_r1049417560


##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java:
##########
@@ -333,6 +333,7 @@ public void open() throws Exception {
         // restore the state if necessary.
         final List<SplitT> splits = CollectionUtil.iterableToList(readerState.get());
         if (!splits.isEmpty()) {
+            LOG.info("Restoring split(s) state to reader {}.", splits);

Review Comment:
   @becketqin Hi, qin, i hava updated this pr, PTAL. thanks a lot.



##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java:
##########
@@ -333,6 +333,7 @@ public void open() throws Exception {
         // restore the state if necessary.
         final List<SplitT> splits = CollectionUtil.iterableToList(readerState.get());
         if (!splits.isEmpty()) {
+            LOG.info("Restoring split(s) state to reader {}.", splits);

Review Comment:
   @becketqin Hi, qin, i have updated this pr, PTAL. thanks a lot.



-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org