int incBackgroundTasks() {
    getCache().getCachePerfStats().incDiskTasksWaiting();
    return backgroundTasks.incrementAndGet();
  }
stops the compactor outside the write lock. Once stopped then it proceeds to destroy the
current & old oplogs
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java