1. 10 7月, 2018 2 次提交
    • D
      Avoid hardcoded bash location in mgmt utils · 3ae06a9b
      Daniel Gustafsson 提交于
      Rather than hardcoding to require /bin/bash, move to using a lookup
      via "/usr/bin/env bash" to allow for greater portability of the code.
      This also changes the Bash test to checking if the current shell is
      actually Bash, rather than looking if bash is available on the file
      system (since we by the above mentioned changes no longer need that).
      3ae06a9b
    • D
      Use portable unary NOT in find command · 469ad0fd
      Daniel Gustafsson 提交于
      The -not syntax is not portable across all platforms, most notably
      OpenBSD, so use the more portable ! operator instead.
      469ad0fd
  2. 09 7月, 2018 1 次提交
  3. 03 7月, 2018 1 次提交
  4. 26 6月, 2018 1 次提交
  5. 22 6月, 2018 1 次提交
    • J
      Make gprecoverseg use new pg_backup flag --force-overwrite · e029720d
      Jimmy Yih 提交于
      This is needed during gprecoverseg full to preserve important files
      such as pg_log files. We pass this flag down the call stack to prevent
      other utilities such as gpinitstandby or gpaddmirror from using the
      new flag. The new flag can be dangerous if not used properly and
      should only be used when data directory file preservation is
      necessary.
      e029720d
  6. 21 6月, 2018 5 次提交
  7. 20 6月, 2018 1 次提交
    • J
      Add pg_log directory to basebackup static exclusion list · 292ef134
      Jimmy Yih 提交于
      The pg_log directory has always been excluded using the pg_basebackup
      exclude option (-E ./pg_log). With this change, we add it to the
      static list inside of basebackup. Because of this change, we are able
      to remove all instances of mkdir pg_log in our management
      utilities. Previously, the utilities would always have to create the
      pg_log directory after running pg_basebackup because the postmaster
      does a validation check on the pg_log path existing.
      
      This also helps us align better with upstream Postgres since the
      pg_basebackup exclude option is Greenplum-specific and really not
      needed at all. Our dynamic exclusion list hasn't changed for a very
      long time (so it's pretty much static anyways) and is not maintained
      in the utilities very well. We may actually remove the pg_basebackup
      exclude option in the near future.
      292ef134
  8. 19 6月, 2018 1 次提交
    • O
      Update utilities to capture hyperloglog counter · aa5fe3d5
      Omer Arap 提交于
      This commit updates the GPSD utility to capture the value of the column
      `stainherit` and also the HLL counters stored in column `stavalues4`
      generated for sample/full table scan based HLL analyze in `pg_statistic`
      table.
      
      This commit also updates minirepro utility to capture hyperloglog
      counter
      Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
      aa5fe3d5
  9. 15 6月, 2018 1 次提交
  10. 14 6月, 2018 1 次提交
  11. 12 6月, 2018 2 次提交
  12. 11 6月, 2018 1 次提交
  13. 07 6月, 2018 1 次提交
  14. 06 6月, 2018 2 次提交
  15. 24 5月, 2018 1 次提交
  16. 23 5月, 2018 2 次提交
  17. 22 5月, 2018 2 次提交
    • J
      Add gpaddmirrors workload test · 13bdad95
      Jamie McAtamney 提交于
      This test explicitly creates some tables and verifies that they can be
      read from after gpaddmirrors has been run on the cluster. The existing
      TINC test that does this will be deleted after all the new gpaddmirrors
      tests have been added.
      
      We've also added some code to allow cluster creation on more than one
      segment host.
      Co-authored-by: NNadeem Ghani <nghani@pivotal.io>
      Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
      13bdad95
    • J
      Undo accidental reversion of two commits · e1dc2569
      Jacob Champion 提交于
      As part of the merge with PostgreSQL 9.1, two gpdb/master commits were
      incorrectly reverted. This change replays the following commits:
      
      commit dd42f3d4
      Author: Todd Sedano <tsedano@pivotal.io>
      Date:   Thu May 17 10:47:30 2018 -0700
      
          Syncing python-dependencies with pythonsrc-ext
      
          In comparing https://github.com/greenplum-db/pythonsrc-ext
          to python-dependencies.txt, there are several differences.
      
          pythonsrc-ext is the vendored python repo, so it should be
          in sync with pythonsrc-ext
      
          argparse is in pythonsrc-ext, adding it to python-dependencies.txt
      
          enum34, parse-type, ptyprocess, six are not in pythonsrc-ext,
          so moving them to python-developer-dependencies.txt
      Authored-by: NTodd Sedano <tsedano@pivotal.io>
      
      commit 7f9f11d3
      Author: Daniel Gustafsson <dgustafsson@pivotal.io>
      Date:   Fri May 18 09:43:48 2018 +0200
      
          Fix typo in comment
      e1dc2569
  18. 18 5月, 2018 1 次提交
  19. 17 5月, 2018 7 次提交
  20. 15 5月, 2018 2 次提交
  21. 12 5月, 2018 1 次提交
    • A
      Speedup gpinitsystem by few secs. · f7677518
      Ashwin Agrawal 提交于
      This patch helps cut-down 8 secs out of 30 secs (for single node gpinitsystem as
      part of gpdemo), mostly more for multinode setups.
      
      - Removes explicit 2 sec and 1 sleep.
      - Removes explicit call to CHECKPOINT, not required.
      - Avoid starting primaries after initdb. As they were started and then shutdown
        pretty soon to start back cluster with required cmdline arguments.
      - Add -w to mirror start.
      
      Still more room for improvement and speedup, this just gets us started.
      f7677518
  22. 11 5月, 2018 2 次提交
  23. 09 5月, 2018 1 次提交