-
Bug
-
Resolution: Done
-
Major
-
2.3.0.CR1
-
None
-
False
-
None
-
False
Let's have this batch statement:
BEGIN BATCHÂ DELETE FROM ... INSERT INTO ... INSERT INTO ... INSERT INTO ... APPLY BATCH ;
From commit log handler's point of view, this is one PartitionUpdate (if we are indeed dealing with one partition only).
The problem is that Debezium processes just DELETE statement and it ignores / skips the rest.
The reason this is happening is that the current logic asks what "PartitionType" a PartitionUpdate is of, based on the fact there is DELETE, it evaluates it to be "PARTITION_AND_CLUSTERING_KEY_ROW_DELETION" so it will just take that into account and it skips all inserts.
We should change the logic so we will not skip other statements in a batch.
- links to
-
RHEA-2023:120698 Red Hat build of Debezium 2.3.4 release