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

Fix empty high watermark check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.7.0.CR1
    • 1.7.0.Alpha1
    • mysql-connector
    • None
    • False
    • False
    • Hide

      1. Populate a table

      2. Start a read-only incremental snapshot 

      important: zero binlog events after the start of the read-only incremental snapshot 

      3. Validate incremental snapshot completion <- Incremental snapshot gets stuck because heartbeats get checked against the empty high watermark

       

      Show
      1. Populate a table 2. Start a read-only incremental snapshot  important: zero binlog events after the start of the read-only incremental snapshot  3. Validate incremental snapshot completion <- Incremental snapshot gets stuck because heartbeats get checked against the empty high watermark  

    Description

      In case there are no binlog events from the start to the end of incremental snapshot the read-only implementation checks gtids of heartbeat events to hack if the chunk selection window can be closed. 

      Right now the gtid is always compared to the high watermark, which can be empty if there are no binlog events during the chunk selection.

      Check heartbeat reaching low watermark in case the high watermark is empty(no binlog events between watermarks)

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgalieva Kate Galieva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: