private Set<TXId> getTransactionsSentFromDepartedProxy(InternalDistributedMember proxyServer) {
    Set<TXId> result = new HashSet<>();
    synchronized (hostedTXStates) {
      for (Map.Entry<TXId, TXStateProxy> entry : hostedTXStates.entrySet()) {
        TXStateProxy tx = entry.getValue();
        if (tx.isRealDealLocal() && tx.isOnBehalfOfClient()) {
          TXState txstate = (TXState) ((TXStateProxyImpl) tx).realDeal;
          if (proxyServer.equals(txstate.getProxyServer())) {
            result.add(entry.getKey());
          }
        }
      }
    }
    return result;
  }
Find all client originated transactions sent from the departed proxy server. Remove them from
the hostedTXStates map after the set TransactionTimeToLive period.

@param proxyServer the departed proxy server
geode-core/src/main/java/org/apache/geode/internal/cache/TXManagerImpl.java