maqingxiang commented on a change in pull request #7083: [hotfix][flink-runtime] modify maxAttempts when find a unique file name for the spilling channel URL: https://github.com/apache/flink/pull/7083#discussion_r233295206
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/api/serialization/SpillingAdaptiveSpanningRecordDeserializer.java ########## @@ -630,8 +630,7 @@ private FileChannel createSpillingChannel() throws IOException { } // try to find a unique file name for the spilling channel - int maxAttempts = 10; - for (int attempt = 0; attempt < maxAttempts; attempt++) { + for (int attempt = 0; attempt < tempDirs.length; attempt++) { Review comment: I'm very sorry. I was careless. The problem I encountered was mainly due to the loss of mounted disks. Thanks for your review, i'll close it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services