Thread

Commits

  1. Correct standbycheck regression test output.

  1. [PATCH] hs_standby_disallowed test fix

    Michail Nikolaev <michail.nikolaev@gmail.com> — 2020-05-11T23:03:22Z

    Hello.
    
    There is a recent commit about changes in way read-only commands are
    prevented to be executed [1].
    
    It seems like hs_standby_disallowed test is broken now.
    
    So, a simple patch to fix the test is attached.
    
    Thanks,
    Michail.
    
    [1] https://www.postgresql.org/message-id/flat/154701965766.11631.2240747476287499810.pgcf%40coridan.postgresql.org#168075c6e89267e11b862aa0c55b1910
    
  2. Re: [PATCH] hs_standby_disallowed test fix

    Fujii Masao <masao.fujii@oss.nttdata.com> — 2020-05-12T03:05:22Z

    
    On 2020/05/12 8:03, Michail Nikolaev wrote:
    > Hello.
    > 
    > There is a recent commit about changes in way read-only commands are
    > prevented to be executed [1].
    > 
    > It seems like hs_standby_disallowed test is broken now.
    > 
    > So, a simple patch to fix the test is attached.
    
    Thanks for the report and patch! LGTM.
    
    I just wonder why standbycheck regression test doesn't run by default
    in buildfarm. Which caused us not to notice this issue long time. Maybe
    because it's difficult to set up hot-standby environment in the
    regression test? If so, we might need to merge standbycheck test into
    TAP tests for recovery.
    
    Regards,
    
    -- 
    Fujii Masao
    Advanced Computing Technology Center
    Research and Development Headquarters
    NTT DATA CORPORATION
    
    
    
    
  3. Re: [PATCH] hs_standby_disallowed test fix

    Fujii Masao <masao.fujii@oss.nttdata.com> — 2020-05-12T04:57:49Z

    
    On 2020/05/12 12:05, Fujii Masao wrote:
    > 
    > 
    > On 2020/05/12 8:03, Michail Nikolaev wrote:
    >> Hello.
    >>
    >> There is a recent commit about changes in way read-only commands are
    >> prevented to be executed [1].
    >>
    >> It seems like hs_standby_disallowed test is broken now.
    >>
    >> So, a simple patch to fix the test is attached.
    > 
    > Thanks for the report and patch! LGTM.
    
    Pushed. Thanks!
    
    Regards,
    
    -- 
    Fujii Masao
    Advanced Computing Technology Center
    Research and Development Headquarters
    NTT DATA CORPORATION
    
    
    
    
  4. Re: [PATCH] hs_standby_disallowed test fix

    Tom Lane <tgl@sss.pgh.pa.us> — 2020-05-12T17:35:53Z

    Fujii Masao <masao.fujii@oss.nttdata.com> writes:
    > I just wonder why standbycheck regression test doesn't run by default
    > in buildfarm. Which caused us not to notice this issue long time. Maybe
    > because it's difficult to set up hot-standby environment in the
    > regression test? If so, we might need to merge standbycheck test into
    > TAP tests for recovery.
    
    It seems likely to me that the standbycheck stuff has been completely
    obsoleted by the TAP-based recovery tests.  We should get rid of it,
    after adding any missing coverage to the TAP tests.
    
    			regards, tom lane
    
    
    
    
  5. Re: [PATCH] hs_standby_disallowed test fix

    Peter Eisentraut <peter.eisentraut@2ndquadrant.com> — 2020-05-18T14:23:23Z

    On 2020-05-12 19:35, Tom Lane wrote:
    > Fujii Masao <masao.fujii@oss.nttdata.com> writes:
    >> I just wonder why standbycheck regression test doesn't run by default
    >> in buildfarm. Which caused us not to notice this issue long time. Maybe
    >> because it's difficult to set up hot-standby environment in the
    >> regression test? If so, we might need to merge standbycheck test into
    >> TAP tests for recovery.
    > 
    > It seems likely to me that the standbycheck stuff has been completely
    > obsoleted by the TAP-based recovery tests.  We should get rid of it,
    > after adding any missing coverage to the TAP tests.
    
    I have looked into this a few times.  It should definitely be done, but 
    there is actually a fair amount of coverage in the standbycheck that is 
    not in a TAP test, so it would be a fair amount of careful leg work to 
    get this all moved over.
    
    -- 
    Peter Eisentraut              http://www.2ndQuadrant.com/
    PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services