Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the barrier batch is encountered during append or during log recovery, all producer entries are removed from the PSM. This ensures leaders, followers, and recovery all handle the barrier consistently. Because the partition is read-only during mirroring, all PSM entries originate from mirrored data. Expiring all entries is safe: no local producer state exists to preserve. Control batches are filtered out by the consumer fetcher via isControlBatch checks. The barrier is invisible to application consumers, just like transaction markers (COMMITcommit/ABORTabort). The log dump tool is enhanced to deserialize and display MIRROR_PID_RESET records.

...