kl0u commented on a change in pull request #6466: [FLINK-10005][DataStream API] 
StreamingFileSink: sets initialPartCounter=maxUsed in new Buckets
URL: https://github.com/apache/flink/pull/6466#discussion_r206782046
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/filesystem/Buckets.java
 ##########
 @@ -237,7 +234,7 @@ void onElement(IN value, SinkFunction.Context context) 
throws Exception {
                                        subtaskIndex,
                                        bucketId,
                                        bucketPath,
-                                       initMaxPartCounter,
+                                       maxPartCounterUsed,
                                        partFileWriterFactory);
                        activeBuckets.put(bucketId, bucket);
                }
 
 Review comment:
   OK.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to