You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "OmniaGM (via GitHub)" <gi...@apache.org> on 2023/11/30 16:40:07 UTC

[PR] KAFKA-15365: Broker-side replica management changes [kafka]

OmniaGM opened a new pull request, #14880:
URL: https://github.com/apache/kafka/pull/14880

   - Extended `LogManager.getOrCreateLog` to accept the target directory's ID. At this level, we assume that the directory id is online to keep `getOrCreateLog` simple. 
   - Fixed `LogManager.handleLogDirFailure`to remove failed directory from `directoryIds` along side `_liveLogDirs`. 
   - Update `Partition.makeLeader` and `Partition.makeFollower` to decide whether or not to send the directory's ID down to `LogManager.getOrCreateLog`.
   - `ReplicaManage.applyLocalLeadersDelta` and `ReplicaManager.applyLocalFollowersDelta` will correct the assignment if the `Partition.log` doesn't equal the assigned in received `TopicDelta.partitionChanges` by the replica manager. 
   
   
   ### 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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-15365: Broker-side replica management changes [kafka]

Posted by "OmniaGM (via GitHub)" <gi...@apache.org>.
OmniaGM closed pull request #14880: KAFKA-15365: Broker-side replica management changes
URL: https://github.com/apache/kafka/pull/14880


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org