gitlw opened a new pull request #11285: URL: https://github.com/apache/kafka/pull/11285
This PR includes the following changes 1. Adding the type field to the LeaderAndIsr request as proposed in KIP-516 2. Letting the controller set the type of LeaderAndIsr requests to be either FULL or INCREMENTAL 3. Allowing topic deletion to complete even with offline brokers 4. Schedule the deletion of replicas with inconsistent topic IDs or not present in the full LeaderAndIsr request Testing Strategy: This PR added two tests 1. testTopicDeletionWithOfflineBrokers: to ensure that topic deletion can proceed even with offline brokers 2. testDeletionOfStrayPartitions: to ensure stray replicas whose topic has been deleted will be removed upon broker startup ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org