DBZ-2473 Decrement remaining for skipped tables
This commit is contained in:
parent
b4cc6a141e
commit
6e915b7cfd
@ -305,6 +305,7 @@ private void createDataEventsForTable(ChangeEventSourceContext sourceContext, Re
|
|||||||
final Optional<String> selectStatement = determineSnapshotSelect(snapshotContext, table.id());
|
final Optional<String> selectStatement = determineSnapshotSelect(snapshotContext, table.id());
|
||||||
if (!selectStatement.isPresent()) {
|
if (!selectStatement.isPresent()) {
|
||||||
LOGGER.warn("For table '{}' the select statement was not provided, skipping table", table.id());
|
LOGGER.warn("For table '{}' the select statement was not provided, skipping table", table.id());
|
||||||
|
snapshotProgressListener.dataCollectionSnapshotCompleted(table.id(), 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LOGGER.info("\t For table '{}' using select statement: '{}'", table.id(), selectStatement.get());
|
LOGGER.info("\t For table '{}' using select statement: '{}'", table.id(), selectStatement.get());
|
||||||
|
Loading…
Reference in New Issue
Block a user