@Override
    void logEndOperation(boolean newOp) {
      if (newOp) {
        currentVersionOperationThreads.remove(Thread.currentThread());
      } else {
        previousVersionOperationThreads.remove(Thread.currentThread());
      }
    }
for debugging stalled state-flush operations we track threads performing operations
and capture the state when startOperation is invoked
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java