KAFKA-1833: OfflinePartitionLeaderSelector may return null leader when ISR and Assgi...#39
KAFKA-1833: OfflinePartitionLeaderSelector may return null leader when ISR and Assgi...#39tedxia wants to merge 1 commit into
Conversation
…sgined Broker have no common broker
|
Hi @tedxia do you mind please to use the review tool https://cwiki.apache.org/confluence/display/KAFKA/Kafka+patch+review+tool so folks can review your patch on JIRA, thanks! |
|
@joestein I have add patch through kafka patch review tool, please review it, thank you. |
|
Will somebody have a look at this, thanks a lot; |
Fix ProcessorJob; rename streaming to streams
|
@tedxia Sorry for late reviews. I think this behavior is by-design that if there is no live brokers in the assigned replicas, we will return null leader indicating that this partition is offline. |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
ok, I will close this issue. |
MINOR Refactored `deleteLogSegment` API to return void and always throw RemoteStorageException if the operation is failed.
…ompatibility (apache#39) TICKET = LI_DESCRIPTION = Some apps such as linkedin-kafka-clients and likafka-cruise-control still reply on this API: parseAndValidateAddresses(List<String> urls). This patch adds back the function. EXIT_CRITERIA = MANUAL ["when no APP makes direct use of this API"]
…ompatibility (apache#39) TICKET = LI_DESCRIPTION = Some apps such as linkedin-kafka-clients and likafka-cruise-control still reply on this API: parseAndValidateAddresses(List<String> urls). This patch adds back the function. EXIT_CRITERIA = MANUAL ["when no APP makes direct use of this API"]
…ompatibility (apache#39) TICKET = LI_DESCRIPTION = Some apps such as linkedin-kafka-clients and likafka-cruise-control still reply on this API: parseAndValidateAddresses(List<String> urls). This patch adds back the function. EXIT_CRITERIA = MANUAL ["when no APP makes direct use of this API"]
…ompatibility (apache#39) TICKET = LI_DESCRIPTION = Some apps such as linkedin-kafka-clients and likafka-cruise-control still reply on this API: parseAndValidateAddresses(List<String> urls). This patch adds back the function. EXIT_CRITERIA = MANUAL ["when no APP makes direct use of this API"]
…ompatibility (apache#39) TICKET = LI_DESCRIPTION = Some apps such as linkedin-kafka-clients and likafka-cruise-control still reply on this API: parseAndValidateAddresses(List<String> urls). This patch adds back the function. EXIT_CRITERIA = MANUAL ["when no APP makes direct use of this API"]
* Tests added for UnifiedLog, RemoteIndexCache, LeaderEpochFileCache and ProducerStateManager * RemoteLogManager instantiation test on KafkaServer and BrokerServer added. * LeaderEpochFileCache assign-without-flush test case added. * Covered test for UnifiedLog#legacyFetchOffsetsBefore
Tests for 21a15c6 Implements KIP-862: https://cwiki.apache.org/confluence/x/WSf1D Reviewer: John Roesler <vvcephei@apache.org> Co-authored-by: Vicky Papavasileiou <vpapavas@users.noreply.github.com>
CSMDS-525: Bump stack version to 1.1.0 MINOR: increase unit test retry from 3 to 5 (CSMDS-493 workaround) (apache#39)
Add mirror fetcher refactoring
PR for KAFKA-1833
In OfflinePartitonLeaderSelector::selectLeader, when liveBrokerInIsr is not empty and have no common broker with liveAssignedreplicas, selectLeader will return no leader;