You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL CDC sync fails because starting binlog position not found in DB #6425 (#9514)
* Check binlog position on mysql server before run sync job, add error description into log
* fix MySqlStrictEncryptSourceAcceptanceTest
* fix formatting
* fix review comments
* added java docs and fixed few minor comments
* fix formatting
* update versions
* update source_specs.yaml
Copy file name to clipboardExpand all lines: airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/435bb9a5-7887-4809-aa58-28c27df0d7ad.json
Copy file name to clipboardExpand all lines: airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/SourceAcceptanceTest.java
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSource.java
Binlog %s is not available. This is a critical error, it means that requested binlog is not present on mysql server. To fix data synchronization you need to reset your data. Please check binlog retention policy configurations."""
56
+
.formatted(binlog);
57
+
LOGGER.error(error);
58
+
thrownewRuntimeException("""
59
+
Binlog %s is not available.""".formatted(binlog));
60
+
}
61
+
});
62
+
}
63
+
64
+
/**
65
+
* Method will get required configurations for cdc sync
66
+
*
67
+
* @return list of List<CheckedConsumer<JdbcDatabase, Exception>>
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceAcceptanceTest.java
Copy file name to clipboardExpand all lines: docs/integrations/sources/mysql.md
+1
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,7 @@ If you do not see a type in this list, assume that it is coerced into a string.
182
182
183
183
| Version | Date | Pull Request | Subject |
184
184
|:--------| :--- | :--- | :--- |
185
+
| 0.5.2 | 2021-12-14 |[6425](https://github.com/airbytehq/airbyte/issues/6425)| MySQL CDC sync fails because starting binlog position not found in DB |
| 0.5.0 | 2021-12-11 |[7970](https://github.com/airbytehq/airbyte/pull/7970)| Support all MySQL types |
187
188
| 0.4.13 | 2021-12-03 |[8335](https://github.com/airbytehq/airbyte/pull/8335)| Source-MySql: do not check cdc required param binlog_row_image for standard replication |
0 commit comments