Skip to content

Commit

Permalink
ensure we initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
mumrah committed Sep 10, 2024
1 parent 01399c1 commit 2f87c13
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ public String name() {
@Override
public void onControllerChange(LeaderAndEpoch newLeaderAndEpoch) {
curLeaderAndEpoch = newLeaderAndEpoch;
if (migrationState.equals(MigrationDriverState.UNINITIALIZED)) {
eventQueue.append(new RecoverMigrationStateFromZKEvent());
}
eventQueue.append(new KRaftLeaderEvent(newLeaderAndEpoch));
}

Expand Down

0 comments on commit 2f87c13

Please sign in to comment.