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 @@ -47,8 +47,8 @@ public class DedicatedMirrorIntegrationTest {

private static final Logger log = LoggerFactory.getLogger(DedicatedMirrorIntegrationTest.class);

private static final int TOPIC_CREATION_TIMEOUT_MS = 30_000;
private static final int TOPIC_REPLICATION_TIMEOUT_MS = 30_000;
private static final int TOPIC_CREATION_TIMEOUT_MS = 120_000;
private static final int TOPIC_REPLICATION_TIMEOUT_MS = 120_000;

private Map<String, EmbeddedKafkaCluster> kafkaClusters;
private Map<String, MirrorMaker> mirrorMakers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1246,8 +1246,7 @@ void fenceZombieSourceTasks(final String connName, final Callback<Void> callback
private void doFenceZombieSourceTasks(String connName, Callback<Void> callback) {
log.trace("Performing zombie fencing request for connector {}", connName);

if (checkRebalanceNeeded(callback))
return;
// We don't have to check for a pending rebalance here

if (!isLeader())
callback.onCompletion(new NotLeaderException("Only the leader may perform zombie fencing.", leaderUrl()), null);
Expand Down