1. 13 2月, 2019 6 次提交
    • A
      848733b6
    • A
    • A
      Make crash_recovery_dtm test stable. · 69ebd66c
      Ashwin Agrawal 提交于
      crash_recovery_dtm test has a scenario which intends to test if QE
      undergoes crash recovery after writing prepare record but before
      responding to QD, the abort processing is completed fine. For the same
      test used GUC `debug_abort_after_segment_prepared` to PANIC all the QE
      at that specific point for DELETE. Next test executes SELECT query to
      validate the DELETE was aborted. But flakiness comes if this SELECT
      query gets executed while PANIC processing is still underway as test
      had no way to wait till PANIC and restart completed before running the
      SELECT.
      
      Now the test instead uses fault injector to sleep at intended point
      and uses pg_ctl restart -w to make sure recovery is completed and only
      after that the SELECT query will be executed.
      
      So, as a result removing the test only GUC
      `debug_abort_after_segment_prepared` and related code for it.
      69ebd66c
    • E
      Test minimal explain formatting in explain_format test. · 0132983b
      Ekta Khanna 提交于
      explain_format tests validate for memory related information. But the
      printing for that information is not stable and varies based on orca vs
      planner, assert enabled vs disabled, query reusing the slice vs run on
      fresh session. Plus, future modifications not related to explain
      formatting can cause this test to fail. Hence, only minimal explain
      format validation which is found to be stable currently is being
      retained for this test.
      
      Better alternative needs to be found to perform for full validation for
      explain formatting, seems sql way is too fragile for it.
      Co-authored-by: NAshwin Agrawal <aagrawal@pivotal.io>
      0132983b
    • D
      Disable exclusion constraints (#6825) · 9478e585
      David Kimura 提交于
      Currently exlusion constraints do not work correctly in MPP environment.
      For example, if the exclusion constraint is on a column which is not the
      table's distribution key, then it is possible to get wrong results.
      
      Following statements should give 1 row because first tuple should
      exclude the second.
      ```
      CREATE TABLE t(a int, b int, EXCLUDE (b WITH =)) DISTIBUTED BY (a);
      INSERT INTO t values (1, 1), (2, 1);
      ```
      
      However, that is not currently the case if the distribution key hashes
      to different segments. This commit removes exclusion constraints feature
      entirely until there is a way to coordinate exclusion constriants
      between the segments.
      Co-authored-by: NAdam Berlin <aberlin@pivotal.io>
      Co-authored-by: NMelanie Plageman <melanieplageman@gmail.com>
      Co-authored-by: NDavid Kimura <dkimura@pivotal.io>
      9478e585
    • D
      Increase the fts_errors gang retry timer (#6918) · 8d2c05cd
      David Kimura 提交于
      We noticed a case in CI where it seemed like it took longer than 30
      seconds to promote the mirror during recovery.
      Co-authored-by: NMelanie Plageman <mplageman@pivotal.io>
      8d2c05cd
  2. 12 2月, 2019 19 次提交
  3. 11 2月, 2019 14 次提交
  4. 09 2月, 2019 1 次提交