rkhachatryan commented on a change in pull request #15823:
URL: https://github.com/apache/flink/pull/15823#discussion_r639482443



##########
File path: 
flink-connectors/flink-connector-jdbc/src/test/java/org/apache/flink/connector/jdbc/xa/JdbcExactlyOnceSinkE2eTest.java
##########
@@ -223,6 +244,7 @@ public void open(Configuration parameters) throws Exception 
{
                 runningSources =
                         new 
CountDownLatch(getRuntimeContext().getNumberOfParallelSubtasks());
             }
+            runningSourcesLocal = runningSources;

Review comment:
       Right, thanks! 
   Fixed by adding a map from attempt number to latch (`latchesPerAttempts`).




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

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


Reply via email to