My kingdom for the ability to resync/refresh a sin...
# replication-troubleshooting
j
My kingdom for the ability to resync/refresh a single table within a stream šŸ™
ā¬†ļø 1
šŸ‘† 2
šŸ’Æ 2
n
Hi, Jonty! To make sure I understand: you are asking if it is possible to refresh a single table within a stream? It is possible to refresh or resync a single table within a stream. To do this, you will need to edit the stream configuration and toggle the sync on or off for the table you want to refresh or resync. You can then click the dropdown arrow in the Sync mode column and select the sync mode you want to apply to the table. If there is a dropdown arrow in the Cursor or Primary key fields of the highlighted table header, click the dropdown arrow and choose the cursor or primary key. Finally, click Apply to apply these changes to the streams you selected, or click Cancel to discard the changes. To save the changes, click Save changes, or click Cancel to discard the changes. The Stream configuration changed dialog will then display, giving you the option to reset streams when you save the changes. Airbyte recommends that you reset streams, as this will delete data in the destination of the affected streams and then re-sync that data. You can learn more about resetting streams here.
j
you will need to edit the stream configuration and toggle the sync on or off for the table you want to refresh or resync.
I'm not sure what you are suggesting here. To reset a single table, do I toggle the sync on, or do I toggle the sync off? It's currently "on", and I want to refresh that entire table.
You can then click the dropdown arrow in the Sync mode column and select the sync mode you want to apply to the table.
How does this help if the table already has a cursor selected from before?
Airbyte recommends that you reset streams, as this will delete data in the destination of the affected streams and then re-sync that data.
This means that the entire stream needs to be reset (i.e. all tables). Exactly what I'm trying to avoid. I've tried multiple times to remove a table from a stream, sync and then re-add the table back in, and it doesn't work. I've found the best to handle this: • delete destination tables manually • edit the DB
streams
table, and update the
cursor
value What we need is a button next to each table that says "Resync from scratch" and it just resyncs that table, and nothing else.
n
Thank you for the feedback and apologies for the confusion! I believe you're right - it looks like it's not possible to resync without resetting the stream. Could you make a feature request for the button you mentioned on GitHub? We might be able to implement it.
āœ… 1