1. 10 1月, 2018 4 次提交
  2. 09 1月, 2018 4 次提交
    • S
      gppylib: refactor SegmentPair to not support multiple mirrors · a19f7327
      Shoaib Lari 提交于
      Long ago, we thought we might need to support multiple mirrors. But we
      don't, and don't forsee it coming soon. Simplify the code to only ever
      have one mirror, but still allow for the possibility of no mirrors
      
      Author: Shoaib Lari <slari@pivotal.io>
      Author: C.J. Jameson <cjameson@pivotal.io>
      a19f7327
    • M
      gppylib: Rename gpArray variables and classes · bbc47080
      Marbin Tan 提交于
      The gpArray use of GpDB and Segment classes was confusing. This change renames
      GpDB to Segment and Segment to SegmentPair to clarify usage. Its a big diff, but
      a simple, repeating change.
      
      Author: Shoaib Lari <slari@pivotal.io>
      Author: Marbin Tan <mtan@pivotal.io>
      Author: C.J. Jameson <cjameson@pivotal.io>
      bbc47080
    • L
      Have a separate docker file for gpadmin user (#4236) · 53278041
      Lav Jain 提交于
      * Have a separate docker file for gpadmin user
      
      * Add indent package for centos6
      53278041
    • J
      isolation2: stop littering <stdout>.pid files on failure · cbab1ee6
      Jacob Champion 提交于
      The temporary file hack to deal with pygresql output oddities didn't
      ensure that those files were always removed. Instead of a named file we
      don't need, just use a TemporaryFile that will go away as soon as we
      release it.
      
      Added a FIXME to revisit this once we upgrade pygresql.
      cbab1ee6
  3. 08 1月, 2018 1 次提交
    • H
      Update pg_proc.sql for changes made to generated file pg_proc_gp.h. · e942ccdc
      Heikki Linnakangas 提交于
      pg_proc_gp.h is generated from pg_proc.sql, but a few recent commits
      updated only pg_proc_gp.h, not pg_proc.sql. As a result, if you ran the
      perl script, the gp_replication_error() function vanished, and the obsolete
      PT verification functions reappeared. Update pg_proc_gp.h, so that
      pg_proc_gp.h is reproduced by the perl script again.
      e942ccdc
  4. 06 1月, 2018 5 次提交
  5. 05 1月, 2018 7 次提交
    • P
      Minimize the race condition in BackoffSweeper() · ab74e1c6
      Pengzhou Tang 提交于
      There is a long-standing race condition in BackoffSweeper() which
      triggers an error and then triggers another assertion failure for
      not reset sweeperInProgress to false.
      
      This commit doesn't resolve the race condition fundamentally with
      lock or other implementation, because the whole backoff mechanism
      did not ask for accurate control, so skipping some sweeps should
      be fine so far. We also downgrade the log level to DEBUG because
      a restart of sweeper backend is unnecessary.
      ab74e1c6
    • K
      e8dc3ea4
    • J
      Reinstate dropping schema for gporca test suite · db1ecd3c
      Jesse Zhang 提交于
      Partition tables hard-code the operator '=' lookup to namespace
      'pg_catalog', which means that in this test we had to put our
      user-defined operator into that special system namespace. This works
      fine, until we try to pg_dump the resulting database: pg_catalog is not
      dumped by default. That led to an incomplete dump that will fail to
      restore.
      
      This commit reinstates the dropping of the schema at the end of `gporca`
      test to get the pipelines back to green (broken after c7ab6924 ).
      Backpatch to 5X_STABLE.
      db1ecd3c
    • D
      Remove dead contrib module xlogviewer · a76607c2
      Daniel Gustafsson 提交于
      xlogviewer is disconnected from the build, and hasn't built since
      we merged the HOT patch during the PostgreSQL 8.3 merge in the 5.x
      development cycle. Since we have contrib/xlogdump, remove rather
      than trying to resurrect it.
      
      Discussion: https://groups.google.com/a/greenplum.org/forum/#!topic/gpdb-dev/ov5Sxrd1JL4
      a76607c2
    • D
      Fixes broken compile aix remote (Detatched head) · de3a8845
      Divya Bhargov 提交于
      Since the docs folder is ignored, it is possible for the gpdb_src to get
      to a detatched HEAD state if there was a docs commit after a given
      commit. We don't really need the branch to get checkout the commit in
      question.
      Signed-off-by: NEd Espino <edespino@pivotal.io>
      Signed-off-by: NDivya Bhargov <dbhargov@pivotal.io>
      de3a8845
    • J
      set search_path and stop dropping schema in gporca test · c7ab6924
      Jesse Zhang 提交于
      The `gporca` regression test suite uses a schema but doesn't really
      switch `search_path` to the schema that's meant to encapsulate most of
      the objects it uses. This has led to multiple instances where we:
        1. Either used a table from another namespace by accident;
        2. Or we leaked objects into the public namespace that other tests in
        turned accidentally depended on.
      
      As we were about to add a few user-defined types and casts to the test
      suite, we want to (at last) ensure that all future additions are scoped
      to the namespace.
      Signed-off-by: NSambitesh Dash <sdash@pivotal.io>
      
      Closes #4238
      c7ab6924
    • C
      behave: reset the faultinjector explicitly · 8fcf01c2
      C.J. Jameson 提交于
      Author: C.J. Jameson <cjameson@pivotal.io>
      8fcf01c2
  6. 04 1月, 2018 5 次提交
    • M
      docs: pl/container updates - plcontainer command, configuration file (#4223) · 38e6d5f8
      Mel Kiyama 提交于
      *  docs: pl/container updates - plcontainer command, configuration file
      
      -removed experimental warning.
      -replaced plcontainer command with new options.
      -updated configuration file - changed element names, added setting element.
      -updated default shared volume.
      
      PR for 5X_STABLE
      Will be ported to MAIN
      
      * docs: pl/container - updates based on review comments.
      
      * docs: pl/container - more updates based on additional review comments.
      
      * docs: pl/container - minor edit
      
      * docs: pl/container - another minor fix.
      38e6d5f8
    • L
      docs - add info about greenplum database release versioning (#4193) · 4916d30e
      Lisa Owen 提交于
      * docs - add info about greenplum database release versioning
      
      * misc edits requested by david
      
      * update subnav titles
      
      * clarify that deprecated features removed only in major release
      4916d30e
    • M
      docs: gpstop new option --host (#4069) · 18185d41
      Mel Kiyama 提交于
      * docs: gpstop new option --host
      
      * docs: gpstop - update update/clarify --host description based on review comments.
      
      * docs: gpstop --host. updates based on review comments.
      
      * docs: gpstop - added information on restoring segments after using --host.
      
      * docs: gpstop --host. corrected name of utility to recover segments : gprecoverseg.
      18185d41
    • J
      atmsort: try to find the end of \d tables correctly · d89fef52
      Jacob Champion 提交于
      Several \d variants don't put a row count at the end of their tables,
      which means that atmsort doesn't stop sorting output until it finds a
      row count somewhere later. Some tests are having their diff output
      horribly mangled because of this, which makes debugging difficult.
      
      When we see a \d command, try to apply more heuristics for finding the
      end of a table. In addition to ending at a row count, end table sorting
      whenever we find a line that doesn't have the same number of column
      separators as the table header. If we don't have a table header, still
      attempt to end table sorting at a blank line.
      
      extprotocol's test output order must be fixed as a result. Put the
      "External options" line where psql actually prints it, after "Format
      options".
      d89fef52
    • D
      gpperfmon: Document installing a fork of sigar on CentOS 7 · f9f6d2fd
      David Sharp 提交于
      https://github.com/hyperic/sigar is not under active development.
      
      https://github.com/boundary/sigar is a fork that has been somewhat updated. In particular, it has a fix to allow it to compile with GCC 5 and 6.
      f9f6d2fd
  7. 03 1月, 2018 14 次提交