Skip to content

Conversation

@woonhak
Copy link

@woonhak woonhak commented Nov 22, 2023

If sync process synced very closely to the their remote,
there is a possibility that no commit since the starting LSN point.
If that is the case, apply worker is infinitely waiting for sync worker finished, but sync worker also is waiting for new commit to finish catching up state even if sync worker synced all of the log record from remote.
This randomly happened while running add_table test when alter_subscription_resynchronize_table() called and wait for complete sync.
To address that issue, we can evaluate sync finish condition while pulling log records.

…atus

 If sync process synced very closely to the their remote,
there is a possibility that no commit since the starting LSN point.
 If that is the case, sync/apply workers are infinitely waiting for new
commit to finish even if sync worker synced all of the log record from remote.
This randomly happened while running `add_table` test
when `alter_subscription_resynchronize_table()` called and wait for
complete sync called.
 To address that issue, we can evaluate sync finish condition while
 pulling log records.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant