1. 24 3月, 2017 3 次提交
  2. 23 3月, 2017 1 次提交
  3. 22 3月, 2017 3 次提交
  4. 21 3月, 2017 2 次提交
  5. 20 3月, 2017 1 次提交
  6. 17 3月, 2017 4 次提交
  7. 11 3月, 2017 1 次提交
    • A
      Add new fault injector to make the transaction management test more stable. · 5b6fcda5
      Abhijit Subramanya 提交于
      The fault `twophase_transaction_commit_prepared` would cause the segment to
      PANIC while writing a `COMMIT PREPARED` record on the segment. The master would
      then retry the `COMMIT PREPARED` while the postmaster was still resetting on the
      segment causing the master itself to `PANIC`. This patch introduces a new fault
      injector `finish_prepared_before_commit`  which will not cause a `PANIC`, but
      just error out since the intent of the test is to ensure that the retry works
      correctly.
      5b6fcda5
  8. 09 3月, 2017 3 次提交
    • D
      Fix typos in comments · 7f753a79
      Daniel Gustafsson 提交于
      A collection typo fixes that were lying around.
      
      [ci skip]
      7f753a79
    • C
      Set timezone to PST in gptransfer tests. (#1991) · ed105b12
      Chris Hajas 提交于
      - Update sql/answer files to set timezone to PST.
      - This prevents test failures if the tests are run on a
        machine that has a different timezone.
      
      Authors: Chris Hajas and Karen Huddleston
      ed105b12
    • S
      Skip pg_index.indcheckxmin column in gpcheckcat. · 79caf1c0
      Shoaib Lari 提交于
      The gpcheckcat 'inconsistent' check should skip the pg_index.indcheckxmin column
      for now as due to the HOT feature, the value of this column can be different
      between the master and the segments.
      
      A more long term fix will resolve the underlying issue that makes the
      indcheckxmin column value to be different between the master and the segments.
      79caf1c0
  9. 08 3月, 2017 3 次提交
  10. 07 3月, 2017 2 次提交
    • Y
      Make gpinitsystem similar to gpstart and gpstop prompting (#1942) · 0701a77b
      yanchaozhong 提交于
      `gpinitsystem`, `gpstart` and `gpstop` had different prompting before:
      
      $ gpinitsystem -c gpinitsystem_config 
      ...
      Continue with Greenplum creation **Yy/Nn>**
      n
      ...
      
      $ gpstart
      ...
      
      Continue with Greenplum instance startup **Yy|Nn (default=N):**
      **>** n
      ...
      
      $ gpstop
      ...
      
      Continue with Greenplum instance shutdown **Yy|Nn (default=N):**
      **>** n
      ...
      
      This commit makes them consistent:
      
      $ gpinitsystem -c gpinitsystem_config 
      ...
      
      Continue with Greenplum creation Yy|Nn (default=N):
      > n
      0701a77b
    • A
      pg_regress test to validate fsync requests are not lost. · 85b7754d
      Ashwin Agrawal and Xin Zhang 提交于
      The commit includes a UDF to walk dirty shared buffers and a new fault
      `fault_counter` to count the number of files fsync'ed by checkpointer process.
      
      Also another new fault `bg_buffer_sync_default_logic` to flush all buffers for
      BgBufferSync() for the background writer process.
      85b7754d
  11. 04 3月, 2017 1 次提交
    • J
      Changed backup file naming conventions to incorporate content id. (#1861) · ca124632
      Jamie McAtamney 提交于
      Previously, backup files were keyed only to the dbid of the segment from
      which they were backed up, which caused problems when trying to restore
      files backed up on a mirror segment, restore files to a new cluster with
      a different dbid mapping, and so forth.
      
      This commit fixes the above issues by changing the backup file naming
      convention to incorporate the content id of the backed-up segment and
      enables restoring files based on the content id.  Also, gpdbrestore
      seamlessly handles mixing the old and new filename formats, so users can
      still restore a backup made with a GPDB 4.3 version of gpcrondump that
      used the old format.
      ca124632
  12. 03 3月, 2017 1 次提交
    • W
      Fix gpload reuse table issues (#1693) · 051f456e
      Wu Ning 提交于
      * Fix gpload reuse table issues
      
      This commit fixes issues below:
      
      1, reports unexpected error when reuse_table is enabled
      2, doesn't recognize GPDB delimiter syntax like E'\t'
      3, unnecessary case sensible of column names
      Signed-off-by: NAdam Lee <ali@pivotal.io>
      Signed-off-by: NNing Wu <nwu@pivotal.io>
      
      * delimiter '\t' handled
      
      * Fixed report warnings wrongly when reusable table exists
      
      * remove the tailing space and simplify sql
      051f456e
  13. 02 3月, 2017 1 次提交
  14. 26 2月, 2017 1 次提交
    • D
      Remove gp_external_grant_privileges · 1e20c783
      Daniel Gustafsson 提交于
      The gp_external_grant_privileges GUC was needed before 4.0 to let
      non superusers create external tables for gphdfs and http protocols.
      This GUC was however deprecated during the 4.3 cycle so remove all
      traces of it. The utility of the GUC was replaced in 4.0 when rights
      management for external tables was implemented with the normal GRANT
      REVOKE framework so this has been dead code for quite some time.
      
      Remove GUC, code which handles it, all references to it from the
      documentation and a release notes entry.
      1e20c783
  15. 25 2月, 2017 4 次提交
  16. 24 2月, 2017 1 次提交
  17. 23 2月, 2017 2 次提交
  18. 05 2月, 2017 1 次提交
    • J
      Fix gppersistentrebuild and its behave tests · 42bd56dc
      Jimmy Yih 提交于
      The gppersistentrebuild tool was trying to use string_agg without
      casting the oid to text. This used to work before but not anymore. The
      behave tests only have two scenarios but the second scenario would
      always fail because it would run when a primary/mirror segment pair
      were still in resync mode.
      42bd56dc
  19. 23 2月, 2017 5 次提交
    • L
      Fix unit test pollution when calling apply patches · 8017d883
      Larry Hamel 提交于
      * When mocking, we may setup patches that are not cleaned up properly
        and causes test pollutions. Ensure that we do tearDown properly and
        raise a condition if we are not.
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      8017d883
    • L
      Add gpconfig --file flag · a86e4901
      Larry Hamel 提交于
      When running gpconfig -s with --file option, we can now view the
      postgresql.conf guc settings instead of just viewing the user guc
      settings in the database. This option also reports if there are any
      inconsistencies with the postgresql.conf between the segments.
      
      reformat gpconfig:
      * enable unit testing
      
      remove gpconfig white-space
      
      Add gpconfig behave tests:
      * When you run gpconfig with -s and --file, you can sometimes run into
      a nonetype string format error. This is due to us not joining all the
      threads properly and closing them out properly.
      
      * Added gpconfig behave tests to ensure that we are not missing anything
       in the unittest tests. As we are mocking the pool, we need to make sure
       that we are not doing anything silly, so adding minimal behave tests.
       Single node is probably enough.
      Signed-off-by: NChumki Roy <croy@pivotal.io>
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      a86e4901
    • M
      Update gpconfig help doc · 83e0f5b0
      Marbin Tan 提交于
      83e0f5b0
    • M
      Remove white space · ab5e9de8
      Marbin Tan 提交于
      ab5e9de8
    • L
      Remove dead code · 555343a7
      Larry Hamel 提交于
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      555343a7