Versions Compared

Key

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

...

When creating a new topic or partitions without explicit partition assignments, if not enough brokers are usable to satisfy the requested replication factor, the INVALID_REPLICATION_FACTOR error will be returned. This error is already returned today is not enough brokers are registered. The error message will be adjusted to mention this could also be due to brokers not having uncordoned log directories as the current error message only mentioned the number of registered brokers.

When creating a new topic or partitions with explicit partition assignments, if any of the specified brokers don't have uncordoned log directories, the INVALID_REPLICA_ASSIGNMENT error will be returned. This error is already returned if the broker Ids are not registered in the cluster.

...

The error message will be adjusted to specify the reason (not available log directories).

AlterPartitionReassignments request

When reassigning partitions between brokers, if the request places partitions on brokers with no uncordoned log directories, the INELIGIBLE_REPLICA will be returned. Currently the controller also logs an INFO message with the reason. This log will be updated to provide the correct reason in case the request is rejected because of cordoned log directories.

...