public void endOperation(long viewVersion) {
    DistributedRegion region = getRegion();
    if (viewVersion != -1) {
      region.getDistributionAdvisor().endOperation(viewVersion);
      if (logger.isTraceEnabled()) {
        logger.trace(LogMarker.STATE_FLUSH_OP_VERBOSE,
            "done dispatching operation in view version {}", viewVersion);
      }
    }
  }
region's distribution advisor marked that a distribution is ended. This method should pair with
startOperation in try/finally block.
geode-core/src/main/java/org/apache/geode/internal/cache/DistributedCacheOperation.java