Skip to content

Commit

Permalink
[source-mysql-v2] fix for incorrect judging criteria (#46930)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohansong authored Oct 16, 2024
1 parent ee5e553 commit b83ed40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: 561393ed-7e3a-4d0d-8b8b-90ded371754c
dockerImageTag: 0.0.22
dockerImageTag: 0.0.23
dockerRepository: airbyte/source-mysql-v2
documentationUrl: https://docs.airbyte.com/integrations/sources/mysql
githubIssueLabel: source-mysql-v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class MySqlDebeziumOperations(
val newGtidSet = availableGtidSet.subtract(savedGtidSet)
if (!newGtidSet.isEmpty) {
val purgedGtidSet = queryPurgedIds()
if (newGtidSet.subtract(purgedGtidSet).equals(newGtidSet)) {
if (!newGtidSet.subtract(purgedGtidSet).equals(newGtidSet)) {
log.info {
"Connector has not seen GTIDs $newGtidSet, but MySQL server has purged $purgedGtidSet"
}
Expand Down

0 comments on commit b83ed40

Please sign in to comment.