@Override
  public int getChanges() {
    int changes = 0;
    for (final TXRegionState txrs : regions.values()) {
      changes += txrs.getChanges();
    }
    return changes;
  }
keeps track of TransactionDataRebalancedException during txPutEntry
geode-core/src/main/java/org/apache/geode/internal/cache/TXState.java