1. 08 6月, 2017 1 次提交
  2. 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
  3. 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
  4. 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
  5. 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
  6. 19 5月, 2016 1 次提交
  7. 12 4月, 2016 1 次提交
  8. 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
  9. 05 1月, 2016 1 次提交
  10. 18 12月, 2015 1 次提交
  11. 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
  12. 10 11月, 2015 2 次提交
  13. 28 10月, 2015 1 次提交