Thread

Commits

  1. doc: Remove reference to trigger file regarding promotion

  1. Delete description of trigger file

    Shinya Kato <shinya11.kato@oss.nttdata.com> — 2023-12-01T02:54:14Z

    Hi,
    
    Standby database promotion by trigger file creation is no longer 
    supported from v16, but its description is remained.
    So, I created a patch. Do you think?
    
    -- 
    Regards,
    Shinya Kato
    NTT DATA GROUP CORPORATION
  2. Re: Delete description of trigger file

    Michael Paquier <michael@paquier.xyz> — 2023-12-01T07:01:24Z

    On Fri, Dec 01, 2023 at 11:54:14AM +0900, Shinya Kato wrote:
    >      later disconnected, the standby goes back to step 1 and tries to
    >      restore the file from the archive again. This loop of retries from the
    >      archive, <filename>pg_wal</filename>, and via streaming replication goes on until the server
    > -    is stopped or failover is triggered by a trigger file.
    > +    is stopped.
    
    Just removing this information looks incorrect to me, because a
    promotion would cause the retries to stop the WAL lookups.  Shouldn't
    the last part of this sentence be reworded as of a "or is promoted"?
    --
    Michael
    
  3. Re: Delete description of trigger file

    Shinya Kato <shinya11.kato@oss.nttdata.com> — 2023-12-02T08:52:50Z

    On 2023-12-01 16:01, Michael Paquier wrote:
    > On Fri, Dec 01, 2023 at 11:54:14AM +0900, Shinya Kato wrote:
    >>      later disconnected, the standby goes back to step 1 and tries to
    >>      restore the file from the archive again. This loop of retries 
    >> from the
    >>      archive, <filename>pg_wal</filename>, and via streaming 
    >> replication goes on until the server
    >> -    is stopped or failover is triggered by a trigger file.
    >> +    is stopped.
    > 
    > Just removing this information looks incorrect to me, because a
    > promotion would cause the retries to stop the WAL lookups.  Shouldn't
    > the last part of this sentence be reworded as of a "or is promoted"?
    
    Thanks for the review.
    Yes, that's true. A new patch is attached.
    
    -- 
    Regards,
    Shinya Kato
    NTT DATA GROUP CORPORATION
  4. Re: Delete description of trigger file

    Michael Paquier <michael@paquier.xyz> — 2023-12-03T23:11:40Z

    On Sat, Dec 02, 2023 at 05:52:50PM +0900, Shinya Kato wrote:
    > Thanks for the review.
    > Yes, that's true. A new patch is attached.
    
    Thanks, applied.
    --
    Michael