DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
The original pid mapping logic is updated to skip it for positive PIDs, making it idempotent.
Barrier Schema
- Batch header: producerId = -1, producerEpoch = -1, isControlBatch = true, isTransactional = false.
- Key: Standard control record key (version=0, type=7) per existing
ControlRecordTypeformat. - Value (
MirrorPidResetRecord):SourceClusterId, string, UUID of the source cluster;TimestampMs, int64, Wall-clock time when the barrier was written).
When ProducerStateManager encounters a MIRROR_PID_RESET batch during normal append or during recovery (LogSegment.recover replays all batches):
...