Versions Compared

Key

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

...

There are two cases when a replica storage UUID will be generated:

  1. The log directory is new and it doesn't contain the kafka-storage CLI tool will generate a storage UUID and meta.properties file persisted on-diskfor every log directory and the metadata log directory.
  2. The meta.properties in the log directory doesn't contain a replica storage UUID. The meta.properties file will be atomically replace with a new meta.properties file that contains a generated replica storage UUID.

Replicas in a KRaft topic partition that are voter or can become voters will be identified by their replica ID and storage UUID.

In this KIP the storage UUID is also called ReplicaUuid, CandidateUuid, VoterUuid and VotedUuid depending on the context.

...