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

Update flush LSN based on keep-alive message

    XMLWordPrintable

Details

    • False
    • False

    Description

      As per a comment on Twitter, Postgres keep-alive messages contain an LSN which we may use to update the flush LSN and make progress with the replication slot, also if there's no traffic, and without the need to induce artificial traffic via heartbeat action queries. This would help to mitigate the low-traffic/high-traffic scenario potentially causing WAL pile-up when connecting the replication slot to the low-traffic DB. Also see this related change in psycopg2 as well as this bugfix.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gunnar.morling Gunnar Morling
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: