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

Stop the connector if WALs to continue from aren't available

    XMLWordPrintable

    Details

      Description

      This still needs to be analyzed in more depth, but from a quick look at the PG connector it seems that we might not correctly handle the case where the connector is restarted and the WAL with the offset to resume from has been purged in between (snapshotting mode "initial"). We should make sure to detect this case properly and stop the connector with an error message, hinting that a new snapshot must be made.

      As a follow-up, we should add a snapshotting mode "when_needed", akin to the one for MySQL, which automatically does a new snapshot in this situation.

      This came up in a question on Gitter, at January 30th, 2018, 15:57 (UTC+1).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpechanec Jiri Pechanec
                Reporter:
                gunnar.morling Gunnar Morling
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: