Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ public void stopPartitions(Set<StopPartition> stopPartitions,

// We want to remote topicId map and stopPartition on RLMM for deleteLocalLog or stopRLMM partitions because
// in both case, they all mean the topic will not be held in this broker anymore.
// NOTE: In ZK mode, this#stopPartitions method is called when Replica state changes to Offline and ReplicaDeletionStarted
Set<TopicIdPartition> pendingActionsPartitions = stopPartitions.stream()
.filter(sp -> (sp.stopRemoteLogMetadataManager || sp.deleteLocalLog) && topicIdByPartitionMap.containsKey(sp.topicPartition))
.map(sp -> new TopicIdPartition(topicIdByPartitionMap.get(sp.topicPartition), sp.topicPartition))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ private void executeDeleteSegmentsDueToLogStartOffsetBreachTest(ClusterInstance
.expectDeletionInRemoteStorage(broker0, topicA, p0, DELETE_SEGMENT, 1)
.deleteRecords(topicA, p0, beforeOffset)
// expect that the leader epoch checkpoint is updated
// Comment out this line if it's FLAKY since the leader-epoch is not deterministic in ZK mode.
.expectLeaderEpochCheckpoint(broker0, topicA, p0, beginEpoch, startOffset)
// consume from the offset-3 of the topic to read data from local and remote storage
.expectFetchFromTieredStorage(broker0, topicA, p0, 1)
Expand Down
Loading