LOG.debug("Got the INDEX_UPDATE readlock for " + opDesc);
// unlock the lock so the server can shutdown, if we find that we have stopped since getting
// the lock
if (this.stopped) {
INDEX_UPDATE_LOCK.unlock();
throw new IndexBuildingFailureException(
"Found server stop after obtaining the update lock, killing update attempt");
}
break;
} catch (InterruptedException e) {
LOG.info("Interrupted while waiting for update lock. Ignoring unless stopped");