-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cdc: also run SyncRecords in error group (#1294)
Main thread waits on errGroup.Wait sooner, so that if an error happens it'll be the original error, instead of reporting context canceled from SyncRecords after PullRecords error Also causes context cancelation to be two way: if SyncRecords fails, PullRecords will now be canceled
- Loading branch information
Showing
1 changed file
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters