DBZ-7347 use identifiers for initial snapshot notifications
This commit is contained in:
parent
c2eac1714e
commit
a4e660f979
@ -576,3 +576,4 @@ Don Seiler
|
||||
Ahmed Rachid Hazourli
|
||||
Pavithrananda Prabhu
|
||||
حمود سمبول
|
||||
Peter Hamer
|
||||
|
@ -457,7 +457,7 @@ private void createDataEvents(ChangeEventSourceContext sourceContext,
|
||||
notificationService.initialSnapshotNotificationService().notifyTableInProgress(
|
||||
snapshotContext.partition,
|
||||
snapshotContext.offset,
|
||||
tableId.table(),
|
||||
tableId.identifier(),
|
||||
rowCountTables.keySet());
|
||||
Callable<Void> callable = createDataEventsForTableCallable(sourceContext, snapshotContext, snapshotReceiver,
|
||||
snapshotContext.tables.forTable(tableId), firstTable, lastTable, tableOrder++, tableCount, selectStatement, rowCount, connectionPool, offsets);
|
||||
@ -589,12 +589,12 @@ private void doCreateDataEventsForTable(ChangeEventSourceContext sourceContext,
|
||||
rows, table.id(), tableOrder, tableCount, Strings.duration(clock.currentTimeInMillis() - exportStart));
|
||||
snapshotProgressListener.dataCollectionSnapshotCompleted(snapshotContext.partition, table.id(), rows);
|
||||
notificationService.initialSnapshotNotificationService().notifyCompletedTableSuccessfully(snapshotContext.partition,
|
||||
snapshotContext.offset, table.id().table(), rows, snapshotContext.capturedTables);
|
||||
snapshotContext.offset, table.id().identifier(), rows, snapshotContext.capturedTables);
|
||||
}
|
||||
catch (SQLException e) {
|
||||
notificationService.initialSnapshotNotificationService().notifyCompletedTableWithError(snapshotContext.partition,
|
||||
snapshotContext.offset,
|
||||
table.id().table());
|
||||
table.id().identifier());
|
||||
throw new ConnectException("Snapshotting of table " + table.id() + " failed", e);
|
||||
}
|
||||
}
|
||||
|
@ -247,3 +247,4 @@ methodmissing,Lourens Naudé
|
||||
Prabhu19,Pavithrananda Prabhu
|
||||
Lourens Naude,Lourens Naudé
|
||||
overwatcheddude,حمود سمبول
|
||||
wukachn,Peter Hamer
|
||||
|
Loading…
Reference in New Issue
Block a user