ableegoldman opened a new pull request #10608:
URL: https://github.com/apache/kafka/pull/10608


   Minor followup to https://github.com/apache/kafka/pull/10342 that I noticed 
while working on the NamedTopology stuff. Cleans up a few things:
   
   1. We no longer need locking for the global state directory either, since 
it's contained within the top-level state directory lock
   2. Clears out misc. usages of the LOCK_FILE_NAME that no longer apply
   3. Lazily delete old-and-now-unused lock files in the 
`StateDirectory#taskDirIsEmpty` method to clean up the state directory for 
applications that upgraded from an older version that still used task locking


-- 
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


Reply via email to