dean_morin
02/14/2024, 8:28 PMINCREMENTAL
sync using the transferwise postgres tap. Does anyone have a good solution for this problem?
Here is an example scenario:dean_morin
02/14/2024, 8:28 PMreplication_key_value = t0
After meltano runs: replication_key_value = t2
When meltano runs it selects everything newer than its bookmark timestamp (t0
). Since tx1
is still running, it only sees tx2
.
tx1
finishes, but since it wasn’t committed when meltano ran its select query, it won’t be seen in this meltano run. It’s timestamp will be t1
When meltano finishes it updates its bookmark using the latest value it’s seen, which is t2
in this case.
The next time meltano runs, it’ll select everything newer that it’s boomark timestamp (t2
).
tx1
will never be replicated.dean_morin
02/14/2024, 8:32 PMEdgar Ramírez (Arch.dev)
02/14/2024, 10:54 PM