No heartbeat from primary (due to connection pool auth failure) after standby restart.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Repl 2026-03-16, Workload Resilience 2026-03-02, Repl 2026-03-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      standby primaryLastAppliedWallTime is not updated during the 60s (rolling restart interval) after standby restart before primary stepdown, because standby does not receive any heartbeat from primary during the time.

      This was reproduced while working on PERF‑7759, specifically when running this patch.

      See the t2 output below and compare primaryLastAppliedWallTime before point B and after point C:

      • Point B – the standby is shut down.  
      • Point C – the standby is started again.

        1. image-2026-02-19-15-31-11-243.png
          261 kB
          Marcin Borowiec
        2. image-2026-02-25-10-45-35-536.png
          71 kB
          Marcin Borowiec
        3. image-2026-03-18-13-39-35-744.png
          12 kB
          Sean Zimmerman
        4. Image 2-24-26 at 12.12 PM.png
          142 kB
          Haiyin Gu

            Assignee:
            Sean Zimmerman
            Reporter:
            Marcin Borowiec
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: