Feature: connector should handle TRUNCATE
messages from the server
#168
Labels
feature
New feature or request
TRUNCATE
messages from the server
#168
Feature description
Currently,
TRUNCATE
messages are ignored. This can provide unexpected behaviour because the stream will not capture all records which have been deleted by the operation.Each truncate message, contains the number of rels (tables) being truncated in the same LSN. This is tricky because:
Some systems ignore it, others (like dbz) have an additional
truncate
operation to handle this type of operation.Since its introduction in 2008,
TRUNCATE
is an optional feature in SQL. However, other systems do support way to empty a collection entirely without bother to emit individual event per delete.The least work involved here will be to warn/block/something so the user is aware this is happening.
The text was updated successfully, but these errors were encountered: