1. 30 8月, 2018 1 次提交
  2. 03 8月, 2018 3 次提交
  3. 10 7月, 2018 2 次提交
  4. 13 1月, 2018 3 次提交
    • J
      Remove gpcrondump, gpdbrestore, and related files · 8922315e
      Jamie McAtamney 提交于
      We will not be supporting these utilities in GPDB 6.
      
      References to gpcrondump and gpdbrestore in the gpdb-doc directory have been left
      intact, as the documentation will be updated to refer to gpbackup and gprestore
      in a separate commit.
      
      Author: Jamie McAtamney <jmcatamney@pivotal.io>
      8922315e
    • C
      Remove use of pg_filespace from gpperfmon · 081e7176
      C.J. Jameson 提交于
      - use the new fact that datadirs are in the gp_segment_configuration
      - fix a few things with the gpperfmon behave tests (mostly for macOS)
         --> the change to mgmt_utils.py is to do the config file manipulation
         natively in python
         --> the change to the gp_bash_functions.sh is to use ASCII '
         characters so that python string comparison is happier
      
      Author: C.J. Jameson <cjameson@pivotal.io>
      081e7176
    • H
      Remove some unused bash code. · 01bc7247
      Heikki Linnakangas 提交于
      01bc7247
  5. 22 12月, 2017 1 次提交
  6. 01 11月, 2017 1 次提交
    • J
      gp_bash_functions: avoid expensive calls in LOG_MSG · ea770b51
      Jacob Champion 提交于
      LOG_MSG is called a lot during gpinitsystem (>400 times on my machine),
      and the (echo | awk | tr | grep) dance gets expensive, especially when
      we do it four times per call. We can do all this stuff with a single
      pass in native bash, which saves ten to fifteen seconds of runtime for
      me when creating a demo-cluster.
      
      Along the same lines, call `date` only once for a timestamp.
      ea770b51
  7. 11 7月, 2017 1 次提交
    • 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
  8. 06 7月, 2017 1 次提交
  9. 08 6月, 2017 1 次提交
  10. 17 5月, 2017 1 次提交
    • C
      Fortify SED_PG_CONF() shell function, as called by gpinitsystem (#2389) · 259cd785
      C.J. Jameson 提交于
      * Fortify SED_PG_CONF() shell function, as called by gpinitsystem
      
      It's also called via gpcreateseg.sh
      
      There is a chance where gpinitsystem may miss a GUC change in one of the
      segments and left undetected. This would cause failures down the line.
      
      More robust in three ways:
      - Retry ssh calls in case they fail
      - Actually error exit if it does fail, for quicker diagnosis if the
        value in postgres.conf did not get updated
      - When keeping a version of the key-value pair in a comment, only
        archive the first-matched key-value (otherwise you get comments on
        your comments)
      
      Use trap for retrying failed ssh
      Use trap in a limited scope for now
      259cd785
  11. 05 5月, 2017 3 次提交
    • D
      Fix spelling in logmessages · e4b831e4
      Daniel Gustafsson 提交于
      e4b831e4
    • D
      Fix up a bit of whitespace · c1588a7a
      Daniel Gustafsson 提交于
      There is a lot of tab/space confusion in the code, this fixes some
      of the worst offenders but there is lots of low-hanging fruit left.
      c1588a7a
    • D
      Remove dead code · b2c759ca
      Daniel Gustafsson 提交于
      There was a lot of unused code in the gpMgmt bash code that hasn't
      been running for quite some time. On top of really dead code, some
      codepaths were reachable, but useless (like printing a non-existing
      version string). Remove the dead code and replace the version print
      with working code which pulls the version from the canonical source.
      b2c759ca
  12. 07 3月, 2017 1 次提交
    • 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
  13. 23 8月, 2016 1 次提交
    • D
      Remove deprecated functionality and leftovers from removed utils · f8488849
      Daniel Gustafsson 提交于
      This removes all utilities which are known to be deprecated from
      gpMgmt and it also clears out any command line switches marked as
      deprecated along with code marked deprecated. It also removes the
      leftovers from previously removed utilities such as gpsuspend and
      gpcheck_hostdump etc and fixes mentions of renamed utilities.
      
      There should be no functional change from this commit as the only
      removed utils have been marked deprecated for some time.
      f8488849
  14. 19 5月, 2016 1 次提交
  15. 12 4月, 2016 1 次提交
  16. 06 2月, 2016 1 次提交
    • C
      Expose gpssh's pexpect.pxssh settings in a configurable file. · 7220b548
      Chris Hajas 提交于
      The gpssh utility can have issues during the initial ssh connection
      step due to different network configurations that may cause delay.
      This commit exposes two key pxssh variables, delaybeforesend and
      sync_multiplier, into configurables so that users can change them
      as needed to ensure their gpssh works as intended in their network.
      
      Authors: Christopher Hajas and Jimmy Yih
      7220b548
  17. 05 1月, 2016 1 次提交
  18. 18 12月, 2015 1 次提交
  19. 10 12月, 2015 1 次提交
    • K
      gpinitsystem -p does not produce correct postgresql.conf file · 3636746b
      Kenan Yao 提交于
      when the add-on config file contains GUCs which exist in postgresql.conf.sample,
      and are commented out(e.g, #max_resource_queues), these GUC settings would not
      take effect because incorrect posgresql.conf would be generated by gpinitsystem.
      3636746b
  20. 10 11月, 2015 2 次提交
  21. 28 10月, 2015 1 次提交