File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
server/src/main/java/org/elasticsearch/index/shard Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -4507,7 +4507,6 @@ assert getActiveOperationsCount() == OPERATIONS_BLOCKED
45074507 ) {
45084508 @ Override
45094509 public IndexCommitRef acquireLastIndexCommit (boolean flushFirst ) {
4510- assert assertNoEngineResetLock ();
45114510 synchronized (engineMutex ) {
45124511 if (newEngineReference .get () == null ) {
45134512 throw new AlreadyClosedException ("engine was closed" );
@@ -4519,7 +4518,6 @@ public IndexCommitRef acquireLastIndexCommit(boolean flushFirst) {
45194518
45204519 @ Override
45214520 public IndexCommitRef acquireSafeIndexCommit () {
4522- assert assertNoEngineResetLock ();
45234521 synchronized (engineMutex ) {
45244522 if (newEngineReference .get () == null ) {
45254523 throw new AlreadyClosedException ("engine was closed" );
@@ -4531,7 +4529,6 @@ public IndexCommitRef acquireSafeIndexCommit() {
45314529 @ Override
45324530 public void close () throws IOException {
45334531 Engine newEngine ;
4534- assert assertNoEngineResetLock ();
45354532 synchronized (engineMutex ) {
45364533 newEngine = newEngineReference .get ();
45374534 if (newEngine == getEngineOrNull ()) {
You can’t perform that action at this time.
0 commit comments