Igor Soarez created KAFKA-15886:
-----------------------------------

             Summary: Always specify directories for new partition registrations
                 Key: KAFKA-15886
                 URL: https://issues.apache.org/jira/browse/KAFKA-15886
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Igor Soarez


When creating partition registrations directories must always be defined.

If creating a partition from a PartitionRecord or PartitionChangeRecord from an 
older version that does not support directory assignments, then 
DirectoryId.MIGRATING is assumed.

If creating a new partition, or triggering a change in assignment, 
DirectoryId.UNASSIGNED should be specified, unless the target broker has a 
single online directory registered, in which case the replica should be 
assigned directly to that single directory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to