public boolean setInProgress(boolean progress) {
    boolean retVal = false;
    TXStateProxy tsp = txContext.get();
    assert tsp != PAUSED;
    if (tsp != null) {
      retVal = tsp.isInProgress();
      tsp.setInProgress(progress);
    }
    return retVal;
  }
sets {@link TXStateProxy#setInProgress(boolean)} when a txContext is present. This method must
only be used in fail-over scenarios.

@param progress value of the progress flag to be set
@return the previous value of inProgress flag
@see TXStateProxy#setInProgress(boolean)
geode-core/src/main/java/org/apache/geode/internal/cache/TXManagerImpl.java