Xmin saving intermediate stream state after a failed connection attempt #26986
Labels
area/connectors
Connector related issues
connectors/source/postgres
team/db-dw-sources
Backlog for Database and Data Warehouse Sources team
type/bug
Something isn't working
xmin
Postgres xmin replication: issues tagged for xmin feature
Connector Name
source-postgres
Connector Version
2.0.29-dev-xmin
What step the error happened?
During the sync
Revelant information
Expected behavior: with xmin sync, we expect that stream state containing the high watermark is only written after a successful sync, that is when the job succeeds. This is because we are not ordering the query table results by xmin and hence we have to process all the rows before committing the state message. (Or in other words we cannot emit intermediate state during xmin sync)
Actual: I noticed that after a failed attempt we wrote an intermediate state for the stream. This deviates from the expected behavior. Logs are attached.
Relevant log output
No response
Contribute
The text was updated successfully, but these errors were encountered: