DBZ-803 Finalizing snapshot in offsets also for schema-only snapshots

This commit is contained in:
Gunnar Morling 2018-07-21 20:39:01 +02:00 committed by Jiri Pechanec
parent 2905cc498b
commit 9814a5c82c

View File

@ -127,6 +127,8 @@ public SnapshotResult execute(ChangeEventSourceContext context) throws Interrupt
}
else {
LOGGER.info("Snapshot step 7 - Skipping snapshotting of data");
ctx.offset.preSnapshotCompletion();
ctx.offset.postSnapshotCompletion();
}
return SnapshotResult.completed(ctx.offset);