dozer icon indicating copy to clipboard operation
dozer copied to clipboard

Postgres connector cannot resume if no events in CDC stream received

Open karolisg opened this issue 1 year ago • 1 comments

This bug happens when we don't receive any message in CDC stream after reading the initial snapshot of data in postgres database. In this case, we have LSN of publication slot, which can be used for snapshotting done event.

https://link.excalidraw.com/readonly/cBRn1ElaavxaTJtJ6CvP Screenshot 2024-01-02 at 15 04 44

karolisg avatar Jan 02 '24 13:01 karolisg

Yes, we should send a Some(OpIdentifier::new(lsn, MAGIC_NUMBER)) to make it resumable once snapshotting is done.

chubei avatar Jan 02 '24 13:01 chubei