You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Igor Soarez (Jira)" <ji...@apache.org> on 2023/11/22 16:41:00 UTC

[jira] [Created] (KAFKA-15886) Always specify directories for new partition registrations

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)