apply feedback

This commit is contained in:
Simon Willnauer 2019-05-29 09:59:39 +02:00
parent 165d2d5ff5
commit fceee244dd
1 changed files with 1 additions and 1 deletions

View File

@ -187,8 +187,8 @@ final class DocumentsWriterDeleteQueue implements Accountable, Closeable {
}
void tryApplyGlobalSlice() {
ensureOpen();
if (globalBufferLock.tryLock()) {
ensureOpen();
/*
* The global buffer must be locked but we don't need to update them if
* there is an update going on right now. It is sufficient to apply the