Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/1272#discussion_r42524229 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/disk/iomanager/FileIOChannel.java --- @@ -154,20 +155,25 @@ private static String randomString(Random random) { public static final class Enumerator { private final File[] paths; - + private final String namePrefix; - private int counter; + private int localCounter; + + private static AtomicInteger globalCounter = new AtomicInteger(); --- End diff -- Minor (optional) comment: In the (undocumented) code style that Flink follows implicitly, the static member fields are the first in the class, before the instance member fields.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---