A leader epoch checkpoint file resides in an assigned partition directory and records the metadata version, entry count, and leader-epoch information. Each record pairs the number of previous partition leaders with the log offset when the current leader was selected. section 8.3.2
Observing a leader change
After broker 3 is stopped, the checkpoint shown for broker 1's partition directory changes from 0 0 to 1 0. The epoch increments with each leader change, helping prevent two brokers from claiming leadership for the same partition. section 8.3.2
