1. 16 7月, 2017 1 次提交
  2. 15 7月, 2017 1 次提交
    • H
      Remove PartOidExpr, it's not used in GPDB. (#2481) · 941327cd
      Heikki Linnakangas 提交于
      * Remove PartOidExpr, it's not used in GPDB.
      
      The target lists of DML nodes that ORCA generates includes a column for the
      target partition OID. It can then be referenced by PartOidExprs. ORCA uses
      these to allow sorting the tuples by partition, before inserting them to the
      underlying table. That feature is used by HAWQ, where grouping tuples that
      go to the same output partition is cheaper.
      
      Since commit adfad608, which removed the gp_parquet_insert_sort GUC, we
      don't do that in GPDB, however. GPDB can hold multiple result relations open
      at the same time, so there is no performance benefit to grouping the tuples
      first (or at least not enough benefit to counterbalance the cost of a sort).
      
      So remove the now unused support for PartOidExpr in the executor.
      
      * Bump ORCA version to 2.37
      Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
      
      * Removed acceptedLeaf
      Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
      941327cd
  3. 14 7月, 2017 5 次提交
  4. 13 7月, 2017 12 次提交
    • H
      Harmonize error message, add test for external tables with too many URIs. · 4055ab3b
      Heikki Linnakangas 提交于
      Seems like a good thing to test. To avoid having to have separate ORCA
      and non-ORCA expected outputs, change the ORCA error message to match
      that you get without ORCA.
      4055ab3b
    • D
      Remove unreachable and unused code (#2611) · f4e50a64
      Daniel Gustafsson 提交于
      This removes code which is either unreachable due to prior identical
      tests which break the codepath, or which is dead due to always being
      true. Asserting that an unsigned integer is >= 0 will always be true,
      so it's pointless.
      
      Per "logically dead code" gripes by Coverity
      f4e50a64
    • J
      Fix gpsegwalrep.py deadlock issue · 195d65d4
      Jimmy Yih 提交于
      When running `gpsegwalrep.py start`, it would intermittently deadlock
      on the subprocess.check_output call.  Apparently, concurrent
      subprocess.check_output calls can deadlock depending on what shell
      commands are run and how fast they execute.  For now, fix the issue by
      only calling subprocess.check_output under a thread lock.  Someone can
      revisit this later although it is assumed a proper tool will be
      created in the near future.
      195d65d4
    • A
      gpfaultinjector should work with filerep disabled · 41ba1012
      Abhijit Subramanya 提交于
      If we try to inject certain faults when the system is initialized with filerep
      disabled, we get the following error:
      
      ```
      gpfaultinjector error: Injection Failed: Failure: could not insert fault
      injection, segment not in primary or mirror role
      Failure: could not insert fault injection, segment not in primary or mirror
      role
      ```
      
      This patch removes the check for the role for non-filerep faults so that they
      don't fail on a cluster initialized without filerep.
      41ba1012
    • A
      Use block number instead of LSN to batch changed blocks in filerep · abe13c79
      Asim R P 提交于
      Filerep resync logic to fetch changed blocks from changetracking (CT)
      log is changed.  LSN is no longer used to filter out blocks from CT
      log.  If a relation's changed blocks falls above the threshold number
      of blocks that can be fetched at a time, the last fetched block number
      is remembered and used to form subsequent batch.
      abe13c79
    • A
      TINC test to detect a bug in filerep resync logic. · 8e59eea3
      Asim R P 提交于
      Filerep resync works by obtaining blocks changed since a mirror went down from
      changetracking (CT) log.  The changed blocks are obtained in fixed sized
      batches.  Blocks of the same relation are ordered by block number.  The bug
      occurs when a higher numbered block of a relation is changed such that it has
      lower LSN as compared to lower numbered blocks.  And the higher numbered blocks
      is not included in the first batch of changed blocks for this relation.  Such
      blocks miss being resynchronized to mirror due to incorret filter based on
      previously obtained changed blocks' LSN.  That means the mirror is eventually
      declared in-sync with primary but some changed blocks remain only on the
      primary.  This loss in data manifests only when the mirror takes over as
      primary, upon rebalance or the primary going down.
      8e59eea3
    • A
      Add GUC to control number of blocks that a resync worker operates on · 2960bd7c
      Asim R P 提交于
      The GUC gp_changetracking_max_rows replaces a compile time constant.  Resync
      worker obtains at the most gp_changetracking_max_rows number of changed blocks
      from changetracking log at one time.  Controling this with a GUC allows
      exploiting bugs in resync logic around this area.
      2960bd7c
    • M
      Docs: add database and object name limitation. · 85372be2
      mkiyama 提交于
      85372be2
    • M
      Docs: minor edits and fixes. · 0ed68855
      mkiyama 提交于
      0ed68855
    • M
      Docs: minor update for backup with NetBackup · 041f7146
      mkiyama 提交于
      041f7146
    • M
      Docs: add gpfdist info for X-GP-PROTO in request header · 0f381544
      mkiyama 提交于
      0f381544
    • M
      Docs: update gpssh.config option sync_retries · 3e14992e
      mkiyama 提交于
      3e14992e
  5. 12 7月, 2017 3 次提交
  6. 11 7月, 2017 16 次提交
  7. 10 7月, 2017 2 次提交