Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Alvaro Herrera authored
    Logical walsender should exit when it catches up with sending WAL during
    shutdown; but there was a rare corner case when it failed to because of
    a race condition that puts it back to wait for more WAL instead -- but
    since there wasn't any, it'd not shut down immediately.  It would only
    continue the shutdown when wal_sender_timeout terminates the sleep,
    which causes annoying waits during shutdown procedure.  Restructure the
    code so that we no longer forget to set WalSndCaughtUp in that case.
    
    This was an oversight in commit c6c33343.
    
    Backpatch all the way down to 9.4.
    
    Author: Craig Ringer, Álvaro Herrera
    Discussion: https://postgr.es/m/CAMsr+YEuz4XwZX_QmnX_-2530XhyAmnK=zCmicEnq1vLr0aZ-g@mail.gmail.com
    abd5071d
    History
    Name Last commit Last update