1. 28 6月, 2019 1 次提交
    • S
      gen_pipeline: Do not call `suggested_*()` functions in `gen_pipeline()`. · 8ed17a81
      Shoaib Lari 提交于
      The `gen_pipeline()` function called the `suggested_git_remote()` and the
      `suggested_git_branch()` functions as default values for the `git_remote` and
      `git_branch` parameters.  For `prod` pipeline, the `gen_pipeline()` function is
      called with GPDB repo and `BASE_BRANCH`.  However, the `suggested_*()` functions
      are called in the `gen_pipeline()` function definition resulting in error as
      they are not applicable for the production branches.
      
      Therefore, in this commit we have used `None` as the default and call the
      `suggested_*()` functions only if the corresponding parameters are not provided
      by the caller.
      Co-authored-by: NJacob Champion <pchampion@pivotal.io>
      8ed17a81
  2. 27 6月, 2019 11 次提交
  3. 26 6月, 2019 4 次提交
  4. 25 6月, 2019 8 次提交
    • A
      Default tablespace guc tests · f7287795
      Adam Berlin 提交于
      - Ensure that indexes are placed into the default tablespace on the master and segments.
      - Default tablespace GUC should not affect where a temporary table or its indexes are placed.
      - Default tablespace should override explict database tablespace configuration
      - ALTER DATABASE SET TABLESPACE should not impact SET default_tablespace to 'some_tablespace'
      - Objects created when default_tablespace is set should end up 'some_tablespace'.
      f7287795
    • T
      Re fly the gpdb_master/gpdb_master_without_asserts pipelines · ea7e00ca
      Tingfang Bao 提交于
         Add the windows clinets testing jobs to pipelines
      Authored-by: NTingfang Bao <bbao@pivotal.io>
      ea7e00ca
    • T
      Add gpdb client test cases on windows pipeline (#7926) · 12f7c139
      Tingfang Bao 提交于
      1) Run TEST_REMOTE.py of gpload
      2) Run psql SSL, gpfdist Windows pipe testing
      Co-authored-by: NPeifeng Qiu <pqiu@pivotal.io>
      Co-authored-by: NTingfang Bao <bbao@pivotal.io>
      Co-authored-by: NXiaoran Wang <xiwang@pivotal.io>
      Co-authored-by: NXiaodong Huo <xhuo@pivotal.io>
      12f7c139
    • X
      Fix a bug when setting globalxmin · 7b1d67c1
      xiong-gang 提交于
      It's introduced in 'e00098', it happens in such case:
      
      Tx 1: generate xid 1000 on segment 0 (xmin=1000, globalxmin=1000)
      Tx 2: generate xid 2000 on segment 0 (xmin=1000, globalxmin=1000)
      Tx 1: finish
      Tx 3: generate xid 3000 on segment 0 (xmin=2000, globalxmin=1000)
      Tx 2: finish
      Tx 4: generate xid 4000 on segment 0 (xmin=3000, globalxmin=2000)
      
      In this scenario, tx4 can advance the DistributedLogShared->oldestXmin to 2000,
      tx3 should use its globalxmin 1000 instead of the value of
      DistributedLogShared->oldestXmin.
      7b1d67c1
    • C
      Bump ORCA version to 3.51.0 (#7996) · ee407f14
      Chris Hajas 提交于
      Improve PciIntervalFromScalarBoolOr() to use faster algorithm
      Only allow const expr evaluation for (const cmp const) ignoring casts
      Remove FDisjointLeft check in CRange::PrngExtend()
      Co-authored-by: NChris Hajas <chajas@pivotal.io>
      Co-authored-by: NShreedhar Hardikar <shardikar@pivotal.io>
      ee407f14
    • M
      Remove unused QAUTILS_FILES.txt · 3e29b708
      Mark Sliva 提交于
      It is superseded by NON_PRODUCTION_FILES.txt
      Co-authored-by: NMark Sliva <msliva@pivotal.io>
      Co-authored-by: NAmil Khanzada <akhanzada@pivotal.io>
      3e29b708
    • J
      postinit: refuse dispatch-mode connections to QEs · ebc26b04
      Jamie McAtamney 提交于
      Prior to this commit, standard connections made to a primary segment
      would hang forever if that segment was not started in utility mode,
      because the call to cdb_setup() waits for a state that will never
      arrive. The hang exists in 6X as well, for slightly different reasons
      (an infinite wait on a semaphore).
      
      Some utilities make use of pg_isready to verify segment status, and a
      hung backend will report an incorrect status for the segment, which is
      how this bug was discovered. The hung backend sticks around forever in
      startup state as well.
      
      Add an explicit check on QE segments that the incoming session does not
      expect a dispatcher role, and bail out at the same place that we would
      normally complain about a mismatched utility-mode connection. (If the
      incoming session is set to the executor role, we'll raise a FATAL for
      other reasons, but at least we won't hang.)
      
      Add a regress test for the new behavior. We coopt the new
      internal_connection test file for this, and rename it gp_connections.
      We also add a more end-to-end regression test using the same
      reproduction case as the original bug.
      Co-authored-by: NJacob Champion <pchampion@pivotal.io>
      ebc26b04
    • N
      basebackup: correctly terminate readlink() buffer · dc0a3cec
      Nikolaos Kalampalikis 提交于
      Buffer corruption was caused by not correctly terminating the
      readlink(), as of commit ccfa3ab7. We restored a previous line of code
      that allows correct termination.
      Co-authored-by: NJacob Champion <pchampion@pivotal.io>
      dc0a3cec
  5. 24 6月, 2019 1 次提交
  6. 22 6月, 2019 3 次提交
  7. 21 6月, 2019 12 次提交