@Override
    void dropSegment(LogSegmentName segmentName, boolean decreaseUsedSegmentCount) throws StoreException {
      segmentsDropped++;
      if (segmentsDropped == dropSegmentCallCountToInterruptAt) {
        throwExceptionIfRequired();
      }
      super.dropSegment(segmentName, decreaseUsedSegmentCount);
      if (segmentsDropped == dropSegmentCallCountToInterruptAt) {
        closeCompactorOrThrowException();
      }
    }
Creates an instance of InterruptionInducingLog.
@param addSegmentCallCountToInterruptAt number of allowed calls to {@link #addSegment(LogSegment, boolean)}.
@param dropSegmentCallCountToInterruptAt number of allowed calls to {@link #dropSegment(LogSegmentName, boolean)}.
@throws StoreException
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java