Skip to content

Commit

Permalink
DBZ-7308 tableLockingStatement from SnapshotLock interface now takes …
Browse files Browse the repository at this point in the history
…just one table in input
  • Loading branch information
mfvitale committed Mar 18, 2024
1 parent 942ab80 commit 2c1a7f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ else if (connectorConfig.getSnapshotIsolationMode() == SnapshotIsolationMode.EXC
}

Optional<String> lockingStatement = snapshotterService.getSnapshotLock().tableLockingStatement(connectorConfig.snapshotLockTimeout(),
Set.of(quoteTableName(tableId)));
quoteTableName(tableId));

if (lockingStatement.isPresent()) {
LOGGER.info("Locking table {}", tableId);
Expand Down

0 comments on commit 2c1a7f1

Please sign in to comment.