-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove sleep logic when the queue is full from CDC #5600
Conversation
Would we have to run tests for the various CDC sources? |
/test connector=source-mysql
|
/test connector=source-postgres
|
/test connector=source-mssql
|
@subodh1810 should this close #5516? |
@sherifnada yes it should |
/publish connector=connectors/source-mysql
|
/publish connector=connectors/source-mssql
|
/publish connector=connectors/source-postgres
|
Issue : #5516
Ref thread : https://airbytehq.slack.com/archives/C01MFR03D5W/p1629636715470600
A user reported an issue with MySQL CDC where the sync was failing with the following exception.
This was happening when the queue is at max capacity, we sleep for 10 milliseconds so that the consumer can consume records and the queue gets empty. Now while sleeping, the consumer signals the producer to shutdown (if we have already reached the target position in binlog) but if we are sleeping, the sleep would be interrupted causing this error. Sleeping in such design doesn't seem right and its better to just avoid sleeping and continue to try in the loop.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
docs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes