1. 12 9月, 2017 1 次提交
  2. 07 9月, 2017 1 次提交
  3. 05 9月, 2017 1 次提交
  4. 31 8月, 2017 1 次提交
    • L
      gpinitsystem: instantiate standby after master · 6f0c85d6
      Larry Hamel 提交于
      Previously, during gpinitsystem, the standby was instantiated in the middle of
      setting up the master. This ordering caused problems because
      initializing the standby could cause an exit when an error
      occurred. As a result of this early exit, the gp_toolkit and DCA gucs
      were not set properly.
      
      Instead, initialize the standby after the master is finished.
      ------------------------------------------
      Previously the exit return code for gpinitsystem was always non-zero.
      Now, it is non-zero only in an error or warning case.
      
      The issue was due to SCAN_LOG interpretation of an empty string as a line count of one.
      Fixed by changing to word count.
      ------------------------------------------
      Initializing a standby can no longer cause gpinitsystem to exit early.
      Added extra logging/output about standby master status.
      Tell user at the end of gpinitsystem if gpinitstandby failed.
      ------------------------------------------
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      6f0c85d6
  5. 26 8月, 2017 1 次提交
    • L
      gprecoverseg: validate checksum setting · e0e331f2
      Larry Hamel 提交于
      As part of the validation phase of gprecoverseg, before proceeding,
      validate that the setting for GUC data_checksums is the same between
      master and segments. The validation is done by comparing pg_control file content.
      Fail fast if the settings are not the same.
      
      If no segments are able to report their settings, then gprecoverseg
      fails. (This failure to report would be unexpected since there is already a check for at least
      one segment alive to progress to the validation phase.)
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      Signed-off-by: NNadeem Ghani <nghani@pivotal.io>
      e0e331f2
  6. 23 8月, 2017 1 次提交
  7. 18 8月, 2017 3 次提交
  8. 15 8月, 2017 1 次提交
  9. 10 8月, 2017 1 次提交
  10. 09 8月, 2017 3 次提交
  11. 04 8月, 2017 1 次提交
  12. 01 8月, 2017 2 次提交
  13. 28 7月, 2017 2 次提交
  14. 27 7月, 2017 1 次提交
  15. 21 7月, 2017 1 次提交
  16. 20 7月, 2017 3 次提交
  17. 19 7月, 2017 3 次提交
  18. 11 7月, 2017 2 次提交
    • M
      behave: make select sql longer for gpperfmon test · b325f08b
      Marbin Tan 提交于
      Create a more extensive workload for the sql to make it last longer.
      The previous sql was completing too fast and so when the actual pid read
      happens, there pid no longer exists and causes the result to be 0.
      b325f08b
    • N
      Adapt pexpect override to handle delays up to 10 second · f7aa215a
      Nadeem Ghani 提交于
      Workaround a problem discovered by a client that noticed intermittent errors for gpssh when some nodes became very cpu-bound.
      
      In particular, we override the way the ssh command prompt is validated
      on a remote machine, within gpssh. The vendored module 'pexpect' tries to match 2 successive prompts
      from an interactive bash shell.  However, if the target host is slow from
      CPU loading or network loading, these prompts may return late.
      
      In that case, the override retries several times, extending the timeout from the
      default 1 second to up to 125 times that duration.
      
      Experimentally, these added retries seem to tolerate about 1 second delay, testing with a 'tc' command that slows network traffic artificially.
      
      The number of retries can be configured.
      
      --add unit tests to verify happy path of ssh-ing to localhost
      --add module for gpssh, for overriding pexpect (pxxssh)
      --add readme to describe testing technique using 'tc' to delay network
      Signed-off-by: NLarry Hamel <lhamel@pivotal.io>
      f7aa215a
  19. 01 7月, 2017 2 次提交
  20. 30 6月, 2017 1 次提交
  21. 29 6月, 2017 1 次提交
  22. 24 6月, 2017 1 次提交
    • J
      Add gpcheckcat behave test for dependency check · fbe35fe5
      Jimmy Yih 提交于
      In this behave test, we delete some entries in pg_depend and in some
      relative catalog tables to simulate a corruption around pg_depend. The
      gpcheckcat tool should then flag these down.
      fbe35fe5
  23. 21 6月, 2017 3 次提交
  24. 10 6月, 2017 1 次提交
  25. 09 6月, 2017 2 次提交
    • D
      Grab an unused pid through remote for testing · 13926407
      Daniel Gustafsson 提交于
      Since Command creates a short-lived SSH session, we observe the PID given
      a throw-away remote process. Assume that the PID is unused and available on
      the remote in the near future.
      
      This pid is no longer associated with a
      running process and won't be recycled for long enough that tests
      have finished.
      
      Looking ahead introduces the risk of a time-of-check-time-of-use race
      since the pid might have been allocated by the operating system by
      the time the test would use the data.
      13926407
    • L
      gppkg: add behave test · 56c9021e
      Larry Hamel 提交于
      Signed-off-by: NTushar Dadlani <tdadlani@pivotal.io>
      56c9021e