Github user tillrohrmann commented on the pull request:
https://github.com/apache/flink/pull/339#issuecomment-71754470
You're right Chesney. I assume that the faulty DC wasn't noticed because it
was probably never really used ;-)
Your solution should make the DC to work properly. We could even get rid of
the second counter by simply decrementing the counter upon deletion. If the
counter is 0, then the file can be deleted. Nice illustrations btw.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---