-
Task
-
Resolution: Done
-
Major
-
2.6.0.Alpha2
-
None
-
False
-
None
-
False
-
-
RecordsSnapshotProducerIT#shouldGenerateSnapshotAndContinueStreaming fails randomly as the records from the snapshot are not always ordered. It doesn't seem to be any issue with the test itself, but it's still not clear to me if this is an issue in out test infrastructure (embedded enegine or test utils) or in snapshot (core).
Slightly modified test, which doesn't assert the records, but prints whole snapshot is bellow. The last records from the first table is delivered after the first record from the second table.
2024-01-23 16:38:58,571 INFO Postgres|test_server|0|streaming|postgres Searching for WAL resume position [io.debezium.connector.postgresql.PostgresStreamingChangeEventSource] 2024-01-23 16:38:58,678 WARN RecordsSnapshotParallelProducerIT|||test| counterVal: 0 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,678 WARN RecordsSnapshotParallelProducerIT|||test| expectedPK: 1 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| actual: 1 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| counterVal: 1 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| expectedPK: 2 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| actual: 2 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| counterVal: 2 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| expectedPK: 3 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| actual: 1 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| counterVal: 3 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| expectedPK: 1 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| actual: 3 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| counterVal: 4 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| expectedPK: 2 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| actual: 2 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| counterVal: 5 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| expectedPK: 3 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,679 WARN RecordsSnapshotParallelProducerIT|||test| actual: 3 [io.debezium.connector.postgresql.RecordsSnapshotParallelProducerIT] 2024-01-23 16:38:58,793 INFO |||| Connection gracefully closed [io.debezium.jdbc.JdbcConnection]
- is related to
-
DBZ-7530 Rework shouldGenerateSnapshotAndContinueStreaming assertions to deal with parallelization
- Closed
- links to
-
RHEA-2024:139598 Red Hat build of Debezium 2.5.4 release