1. 03 4月, 2019 7 次提交
    • K
      gpcheck: split tests into local and remote · 07cc3a67
      Kalen Krempely 提交于
      Tag existing tests with @demo_cluster and @concourse_cluster
      annotations. The @demo_cluster tag denotes the scenario can run
      locally. The @concourse_cluster tag denotes the scenario that requires
      a remote cluster.
      Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
      Authored-by: NKalen Krempely <kkrempely@pivotal.io>
      (cherry picked from commit 53aad9c3)
      07cc3a67
    • D
      templatize gpmovemirrors CI test · e4e6f2f5
      David Krieger 提交于
      Templatize gpmovemirrors into a single concourse job to run both
      concourse_cluster and demo_cluster tags separate tasks.
      Co-Authored-By: NKalen Krempely <kkrempely@pivotal.io>
      (cherry picked from commit 0df65394)
      e4e6f2f5
    • Z
      Fix gpexpand flaky test cases · e2082252
      Zhenghua Lyu 提交于
      Each gpexpand test case need a new environment.
      Previous code uses pkill to make sure no postgres
      process remaining and then uses gpstop to double
      confirm.
      
      However, pkill to terminate cluster may over-kill
      some other postgres process on the hosts. What's
      more, the interface `Given a working directory of
      the test as '/data/gpdata/gpexpand'` will remove
      the directory which also remove the $MASTER_DATA_DIRECTORY,
      so the following `gpstop` is useless because
      $MASTER_DATA_DIRECTORY is gone. Also, this introduce
      race conditon.
      
      This commit removes pkill and use gpstop interface
      to build a clean environment for each test case. Also
      it makes sure that `gpstop` is invoked at the very
      beginning of each test case.
      e2082252
    • A
      Make sure gpfdist is ready in test cases (#7312) · 6ac99d95
      Adam Lee 提交于
      It tried to make sure gpfdist is ready by sleep 3 seconds before
      queries, but that could not guarantee. This commit changes the sleep to
      a retry until gpfdist is ready.
      
      (cherry picked from commit f616837a)
      6ac99d95
    • P
      Improve timeout mechanism for pg_rewind tests (#7281) · d41940f5
      Paul Guo 提交于
      We've seen frequent pg_rewind test failures due to promotion timeout. We
      should increase the timeout. Also, add code to error out on timeout.
      Co-authored-by: NNing Yu <nyu@pivotal.io>
      
      Reviewed-by: Ashwin Agrawal
      d41940f5
    • P
      Set default value of guc log_rotation_size so that log file would be rotated each 1GB. (#7264) · 3099c99a
      Paul Guo 提交于
      Previously the default value is 0, so normally log rotation happens each
      day by default according to the other log related guc configurations.
      That often makes a single log file rather large in real users'
      environment.  Limiting the log file size so that people could easiler
      open and search the log files.
      3099c99a
    • P
      Fix two fts bugs related to promoting mirror. (#7246) · 6c339d63
      Paul Guo 提交于
      
      1) pm_launch_walreceiver was introduced in b824fe8f
         to avoid a potential deadlock when cluster is down after
         updating the new role in gp_segment_configuration but before
         sending promote signal. It is buggy now since some changes.
         We need to put pm_launch_walreceiver in shared memory since
         it's used in different processes.
      
      2) The following assertion is not always true in a real scenario if
         the segment is being promoted. We could simply stop the connection
         for the !am_mirror case.
      
         ProcessStartupPacket()
           if (am_ftshandler)
           {
              Assert(am_mirror);
      
      Ning Yu and we had some discussions for these bugs. He contributed for
      issue 1 also.
      Co-authored-by: NHaozhou Wang <hawang@pivotal.io>
      6c339d63
  2. 02 4月, 2019 5 次提交
  3. 29 3月, 2019 2 次提交
  4. 28 3月, 2019 5 次提交
  5. 27 3月, 2019 2 次提交
    • J
      Remove *.po translator files · cbb5597c
      Jimmy Yih 提交于
      Greenplum does not support this. These were originally removed in the
      postgres 8.3 merge iteration but the 8.4 through 9.4 merge iterations
      brought them back accidentally.
      
      This commit is going directly to 6X_STABLE because the postgres 9.5
      merge iteration will remove the *.po translator files for master.
      cbb5597c
    • W
      Add gpperfmon test for all supported platforms (#7174) (#7202) · dd1e1544
      Wang Hao 提交于
      For GP 6 beta, the release engineering team is removing the apr-util
      package from the list of bundled dependencies. Users will be asked
      to provide their own apr-util package, which can differ in the version
      on each platform. So it is necessary to verify gpperfmon is workable
      with the platform provided apr-util on each supported platform.
      
      Originally, gpperfmon test is done in CLI test suite, only covers centos6.
      This commit changed it to a dedicated suite in order to test multiple
      platforms.
      Note: on SLES12 does not need to install libapr-util1 to run gpmmon
      dd1e1544
  6. 26 3月, 2019 4 次提交
    • L
      docs - gpexpand.status_detail external_writable field (#7225) · 0b8a0372
      Lisa Owen 提交于
      * docs - gpexpand.status_detail external_writable field
      
      * gpexpand.status tbl - updated col now timestamp without tz
      0b8a0372
    • L
      docs - organize contrib modules in ref guide (#7223) · 42bf41e8
      Lisa Owen 提交于
      * docs - organize contrib modules in ref guide
      
      * provides
      
      * insignificant edit
      42bf41e8
    • C
      Docs postgresql 9.3 merge part 2 (#7196) · 830f21dd
      Chuck Litzell 提交于
      * ALTER TABLE. Edits and fix example.
      
      * ALTER TYPE. Add IF NOT EXISTS and edits
      
      * ALTER VIEW. edits and add examples
      
      * clusterdb. small edit
      
      * CREATE EXTENSION. Edits mostly applied earlier.
      
      * CREATE FUNCTION. Compatibility edit.
      
      * CREATE RULE. Edits
      
      * EXPLAIN. small edits.
      
      * DROP RULE. minor edits
      
      * GRANT. revise server USAGE privilege description.
      
      * pg_restore. lots of edits. doesn't read PGDATABASE envvar.
      
      * REASSIGN OWNED. edits. Remove qualification that it doesn't change the database ownership
      
      * REASSIGN OWNED. edits. Remove qualification that it doesn't change the database ownership
      
      * Remove extraneous char
      
      * Changes from review
      830f21dd
    • D
      Docs: update exchange partition limitation · 166e902f
      dyozie 提交于
      166e902f
  7. 25 3月, 2019 3 次提交
  8. 23 3月, 2019 2 次提交
    • J
      logfile_rotate(): correct multiple calls to set_next_rotation_time() · d23979e1
      Jacob Champion 提交于
      Because set_next_rotation_time() was being called once per call to
      logfile_rotate(), the timestamp used to create the log file name was
      being advanced multiple times per rotation. This led to the creation of
      empty log files on disk that looked like they were from "the future".
      
      This code badly needs to be refactored -- the initial intent, for the
      text and csv implementations to be independent, is no longer the case --
      but for now, we can hack around this problem by pulling the call to
      set_next_rotation_time() up one level. This will only be called if *all*
      logfiles are correctly rotated, to match the upstream logic (on failure,
      we loop around to the beginning and try to open all log files again).
      Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
      (cherry picked from commit fc53bbf8)
      d23979e1
    • J
      SysLoggerMain: fix timestamp delay code · b34fdae9
      Jacob Champion 提交于
      Log rotations were happening well after the timestamp on the log file
      (e.g. a per-minute rotation might actually take place thirty seconds
      after it was supposed to).
      
      After the 9.2 merge, we were incorrectly shadowing the `now` variable,
      so the rotation delay only got bigger and bigger. Periodic logging (such
      as from FTS) caused us to break out of the wait by luck, but otherwise
      the syslogger would take longer and longer to wake up to perform a
      rotation.
      Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
      (cherry picked from commit 14a794e8)
      b34fdae9
  9. 22 3月, 2019 2 次提交
  10. 21 3月, 2019 1 次提交
  11. 20 3月, 2019 1 次提交
    • A
      Print backtrace on AO format version error and check for same sooner. · 1a001c76
      Ashwin Agrawal 提交于
      In some scenarios ERROR "append-only table version -1 is invalid" is
      being hit. Code inspection doens't reveal any clues why it can
      happen. So, for now we thought of adding more info to figure out the
      cause. Backtrace would definitely be helpful when the error hits.
      
      Also, check the format version as soon as entry is read from
      catalog. Plus also would be greatly helpful if can have corefile when
      the problem happens so under the controlled environment with guc
      evelate ERROR to PANIC. GUC
      `debug_appendonly_print_verify_write_block` usage for same is not
      ideal but wish to avoid adding special guc just for this case, hence
      piggyback on this existing uinteresting debug guc for now.
      Co-authored-by: NDaniel Gustafsson <dgustafsson@pivotal.io>
      1a001c76
  12. 19 3月, 2019 6 次提交