flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink issue #3525: [FLINK-6020]add a random integer suffix to blob key to av...
Date Fri, 17 Mar 2017 15:13:32 GMT
Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3525
  
    I don't quite understand the issue. Currently, the name should exactly match the hash
to make sure that each library is stored only once. Adding a random suffix exactly destroys
that behavior.
    
    In the case where multiple clients upload the same jar to *different* clusters, it should
not be a problem, if they use different storage directories (which they should definitely
do).
    
    In the case where multiple clients upload the same jar to the *same* cluster, the first
rename from tmp to file will succeed. The second rename from tmp to file will fail, but that's
not a problem, because the file already exists with the same contents, and the client can
assume success.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message