Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-77

Shutdown right after snapshot complete fails to mark offset with completed snapshot

    XMLWordPrintable

Details

    • Hide

      This is only a problem if no updates to the database are made after the snapshot is started, and then the connector is shutdown after the snapshot completes. To prevent this, ensure the database is updated at least once after the snapshot starts. (This is not always easy to do, but it is often the case in a production database anyway.)

      Show
      This is only a problem if no updates to the database are made after the snapshot is started, and then the connector is shutdown after the snapshot completes. To prevent this, ensure the database is updated at least once after the snapshot starts. (This is not always easy to do, but it is often the case in a production database anyway.)

    Description

      If the MySQL connector were shutdown right after a snapshot completes but before any other events are recorded, then the connector fails to record the updated offset in which the snapshot was marked as completed. Then, upon restart, the connector will perform another snapshot.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: