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/08/12 10:30:49 UTC

[GitHub] [flink] SteNicholas commented on a diff in pull request #20530: [FLINK-28817] NullPointerException in HybridSource when restoring from checkpoint

SteNicholas commented on code in PR #20530:
URL: https://github.com/apache/flink/pull/20530#discussion_r944331765


##########
flink-connectors/flink-connector-base/src/main/java/org/apache/flink/connector/base/source/hybrid/SwitchedSources.java:
##########
@@ -45,4 +47,8 @@ public SimpleVersionedSerializer<SourceSplit> serializerOf(int sourceIndex) {
     public void put(int sourceIndex, Source source) {
         sources.put(sourceIndex, Preconditions.checkNotNull(source));
     }
+
+    public Integer getNextSubtaskSourceIndex(int previousSubtaskSourceIndex) {

Review Comment:
   ```suggestion
       public Integer getNextSourceIndex(int prevSourceIndex) {
   ```



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