Skip to content

Commit

Permalink
DBZ-7311 Permits to execute a blocking snapshot even if snapshot.mode…
Browse files Browse the repository at this point in the history
…=never
  • Loading branch information
mfvitale authored and jpechane committed Jan 8, 2024
1 parent 2282b1b commit 4284d62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ public SnapshottingTask getSnapshottingTask(VitessPartition partition, VitessOff
}

@Override
protected SnapshotContext<VitessPartition, VitessOffsetContext> prepare(VitessPartition partition) {
return new RelationalSnapshotContext<>(partition, "");
protected SnapshotContext<VitessPartition, VitessOffsetContext> prepare(VitessPartition partition, boolean onDemand) {
return new RelationalSnapshotContext<>(partition, "", onDemand);
}

@Override
Expand Down

0 comments on commit 4284d62

Please sign in to comment.