1. 02 7月, 2019 4 次提交
  2. 01 7月, 2019 3 次提交
    • A
      Make CREATE TABLESPACE two-phase safe · 122c79f2
      Adam Berlin 提交于
      Modify TwoPhaseFileHeader to include a tablespace OID that needs to be
      removed if an abort occurs.
      
      We add a 'pending tablespace for deletion' that is scheduled during the
      'create tablespace' command. If a node encounters an error, it can abort
      using the in-memory value. The master then can send an ABORT PREPARED for all
      segments that have prepared the create tablespace.
      
      A successful 'create tablespace' needs to unschedule the deletion, or following
      aborted transactions will accidentally delete the newly created tablespace.
      
      XLOG records are written for the ABORT and ABORT_PREPARED of a transaction, and these records also
      now contain a tablespace oid for deletion.
      
      Notes:
      
      During CREATE TABLESPACE, if an error occurs after the XLOG_XACT_PREPARE
      record has been written, there should be no filesystem changes left
      on disk for any of the segments. (master, standby, primary, or mirror)
      
      If an error occurs after the XLOG_XACT_DISTRIBUTED_COMMIT, then the create
      tablespace should succeed, and all tablespace filesystem changes should exist.
      Co-authored-by: NTaylor Vesely <tvesely@pivotal.io>
      Co-authored-by: NAlexandra Wang <lewang@pivotal.io>
      Co-authored-by: NSoumyadeep Chakraborty <sochakraborty@pivotal.io>
      122c79f2
    • D
      docs: fix typos in PXF documentation · 239d87e9
      Daniel Gustafsson 提交于
      239d87e9
    • X
      Run gpfdist_ssl test cases on windows · ae2a481a
      Xiaoran Wang 提交于
      * Add remote_regress folder in src/bin/gpfdist/
      to test gpfdist which runs on a remote host, such
      as a windows server. make installcheck_win can
      run them.
      
      * The scripts of start_gpfdist_remote_win
      are used to start and stop gpfdist runing on windows.
      If you want to test gpfdist on another os, such
      as aix, you can create a forlder named
      start_gpfdist_remote_aix and add some scripts
      to start and stop gpfdist.
      ae2a481a
  3. 30 6月, 2019 1 次提交
    • Z
      Improve select statement with locking clause · 10052f48
      Zhenghua Lyu 提交于
      With GDD enabled, and under some simple cases (refer
      the commit 6ebce733 and the function checkCanOptSelectLockingClause
      for details), we might also do some optimizations for the
      select statement with locking clause and limit clause.
      
      Greenplum generates two-stage-merge sort or limit plan to implement
      sort or limit and we can only lock tuples on segments. We prefer
      locking more tuples on segments rather than locking the whole table.
      Without the whole table lock, performance for OLTP should be improved.
      
      Also, after lockrows data cannot be assumed in order, but we do merge
      gather after lockrows. It is reasonable because even for postgres:
      `select * from t order by c for update` cannot guarantee result's order.
      10052f48
  4. 29 6月, 2019 5 次提交
  5. 28 6月, 2019 10 次提交
  6. 27 6月, 2019 11 次提交
  7. 26 6月, 2019 4 次提交
  8. 25 6月, 2019 2 次提交
    • 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