1. 12 9月, 2017 1 次提交
  2. 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
  3. 23 8月, 2017 1 次提交
  4. 18 8月, 2017 3 次提交
  5. 15 8月, 2017 1 次提交
  6. 10 8月, 2017 1 次提交
  7. 09 8月, 2017 2 次提交
    • S
      Adds HEAP_CHECKSUM functionality to gpinitsystem · 71c62b2c
      Shoaib Lari 提交于
      gpinitsystem did not check for HEAP_CHECKSUM in the cluster
      configuration file with a -c switch. This commit accepts the
      HEAP_CHECKSUM setting, and additionally exports it to an
      output_configuration_file when specified with the -O switch.
      
      This commit also adds behave tests for the above, and for
      reading the input_configuration_file with the -I switch.
      Signed-off-by: NLarry Hamel <lhamel@pivotal.io>
      Signed-off-by: NXin Zhang <xzhang@pivotal.io>
      71c62b2c
    • N
      Synchronize writes for concurrent analyzedb runs · 75e0070d
      Nadeem Ghani 提交于
      Bug fix for a scenario with multiple analyzedb processes running
      concurrently: the resulting report files were incorrect and/or
      overwritten.
      
      This commit adds a lock (a file semaphore) for synchronization between analyzedb processes.
      Each process will acquire an exclusive lock, per database, read the most recent report
      files (possibly written by concurrently running analyzedb processes) and
      incorporate that latest information into its own report.
      Signed-off-by: NLarry Hamel <lhamel@pivotal.io>
      75e0070d
  8. 04 8月, 2017 1 次提交
  9. 01 8月, 2017 1 次提交
  10. 28 7月, 2017 1 次提交
  11. 27 7月, 2017 1 次提交
  12. 20 7月, 2017 1 次提交
    • C
      Remove tests for gp_restore · 4f84710a
      Chris Hajas 提交于
      This is an internal utility called by gpdbrestore and should not have
      specific tests (except for testing with valgrind).
      4f84710a
  13. 19 7月, 2017 3 次提交
  14. 01 7月, 2017 1 次提交
    • M
      behave: Fix gpperfmon behave test intermitent failure for log alert history · 63ad5094
      Marbin Tan 提交于
      There are times where gpperfmon_log_alert_history scenario fails,
      because there's no data in the log alert history table.
      This might be due to us copying an empty csv file; gpperfmon writes to a
      file for log alert in a cadence. We might be copying a file that has not
      been written into yet -- possibly empty.
      
      Make sure that we have something to copy first before proceeding to the
      next step.
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      63ad5094
  15. 30 6月, 2017 1 次提交
  16. 29 6月, 2017 1 次提交
  17. 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
  18. 21 6月, 2017 1 次提交
    • L
      gpperfmon: fix delete old partitions behavior and add tests · bada9b10
      Larry Hamel 提交于
      gpperfmon drop partition sql statement was syntactically incorrect, so
      partition_age gpperfmon feature was not working.
      
      We were using the rows in partitionrangestart column from
      pg_partition to drop specific partitions. The row value from
      partitionrangestart is reported, as such, '2017-02-01 00:00:00'::timestamp(0) without time zone.
      The query was reporting an error "Not a constant expression".
      
      Use only the first part of partitionrangestart to make our ALTER DROP
      query work.
      
      - Added behave test to confirm that it is now working
      Signed-off-by: NNadeem Ghani <nghani@pivotal.io>
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      Signed-off-by: NC.J. Jameson <cjameson@pivotal.io>
      bada9b10
  19. 10 6月, 2017 1 次提交
  20. 09 6月, 2017 1 次提交
    • 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
  21. 25 5月, 2017 1 次提交
    • C
      Combines Netbackup backup/restore test suite into main backup suite (#2497) · 18a2b39f
      Chris Hajas 提交于
      This is part of the effort to get all backup/restore tests using the
      same test suite. Since the Netbackup tests take significantly longer, we
      only run a subset of the regular test suite. We also tag scenarios to
      allow parallel runs on separate hosts in CI.
      
      This suite will take 1h, 40 mins after parallelization, down from the
      current 2h, 20 mins.
      18a2b39f
  22. 17 5月, 2017 1 次提交
  23. 13 5月, 2017 1 次提交
  24. 11 5月, 2017 1 次提交
  25. 06 5月, 2017 1 次提交
  26. 05 5月, 2017 1 次提交
  27. 03 5月, 2017 2 次提交
  28. 02 5月, 2017 1 次提交
  29. 28 4月, 2017 1 次提交
  30. 26 4月, 2017 2 次提交
  31. 22 4月, 2017 2 次提交
  32. 19 4月, 2017 1 次提交