mjsax commented on a change in pull request #9010: URL: https://github.com/apache/kafka/pull/9010#discussion_r453134258
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/StateDirectory.java ########## @@ -47,10 +47,10 @@ public class StateDirectory { private static final Pattern PATH_NAME = Pattern.compile("\\d+_\\d+"); - - static final String LOCK_FILE_NAME = ".lock"; private static final Logger log = LoggerFactory.getLogger(StateDirectory.class); + static final String LOCK_FILE_NAME = ".lock"; + private final Object taskCreationLock = new Object(); Review comment: That's fair. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org