ihji commented on a change in pull request #16225:
URL: https://github.com/apache/beam/pull/16225#discussion_r784470874



##########
File path: 
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.java
##########
@@ -958,6 +959,11 @@ private Debuggee registerDebuggee(CloudDebugger 
debuggerClient, String uniquifie
         } catch (InvalidProtocolBufferException e) {
           throw new RuntimeException("Error parsing artifact file payload.", 
e);
         }
+        if (stagedPaths.contains(filePayload.getPath())) {

Review comment:
       The different environments still can have the same dependency. It only 
stops staging the same artifact multiple times so that a list of staged 
packages doesn't have any duplicates.
   
   Added a test.




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