mirror of https://github.com/apache/lucene.git
apply feedback
This commit is contained in:
parent
165d2d5ff5
commit
fceee244dd
|
@ -187,8 +187,8 @@ final class DocumentsWriterDeleteQueue implements Accountable, Closeable {
|
||||||
}
|
}
|
||||||
|
|
||||||
void tryApplyGlobalSlice() {
|
void tryApplyGlobalSlice() {
|
||||||
ensureOpen();
|
|
||||||
if (globalBufferLock.tryLock()) {
|
if (globalBufferLock.tryLock()) {
|
||||||
|
ensureOpen();
|
||||||
/*
|
/*
|
||||||
* The global buffer must be locked but we don't need to update them if
|
* 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
|
* there is an update going on right now. It is sufficient to apply the
|
||||||
|
|
Loading…
Reference in New Issue