File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
server/src/main/java/org/elasticsearch/index/engine Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -472,15 +472,13 @@ public Releasable acquireThrottle() {
472472 pauseLockReference .acquire ();
473473 try {
474474 while (pauseIndexing .getAcquire ()) {
475- // System.out.println("Waiting on pause indexing lock");
476475 logger .trace ("Waiting on pause indexing lock" );
477476 pauseCondition .await ();
478477 }
479478 } catch (InterruptedException e ) {
480479 Thread .currentThread ().interrupt ();
481480 throw new RuntimeException (e );
482481 } finally {
483- // System.out.println("Acquired pause indexing lock");
484482 logger .trace ("Acquired pause indexing lock" );
485483 }
486484 return pauseLockReference ;
@@ -505,15 +503,12 @@ public void activate() {
505503 public void deactivate () {
506504 assert lock != NOOP_LOCK : "throttling deactivated but not active" ;
507505
508- // throttlingLock.unthrottle();
509-
510506 if (lock == pauseLockReference ) {
511507 logger .trace ("Deactivate index throttling pause" );
512508
513509 // Signal the threads that are waiting on pauseCondition
514510 pauseLockReference .acquire ();
515511 try {
516- // System.out.println("Deactivate pause");
517512 pauseIndexing .setRelease (false );
518513 pauseCondition .signalAll ();
519514 } finally {
You can’t perform that action at this time.
0 commit comments