Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Log waits beyond a threshold in FileManager.reserveReaders() #978
While calling FileManager.reserveReaders() filePermits.acquireUninterruptibly(files.size()) is called. This method will block until the filePermits are available. Using tryAcquire(int, long, TimeUnit) in a loop until successful would allow logging beyond a configurable threshold while waiting.