@Override
  public void prepareForCompact() {
    compacting = true;
  }
The oplogId in re points to the oldOplogId. "this" oplog is the current oplog.
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java