1. 23 3月, 2018 3 次提交
    • A
      Stop calling FtsNotifyProber() from initTM(). · 1ced7ca9
      Ashwin Agrawal 提交于
      FTS starts probing as soon as fts process gets created and triggers
      every minute. No reason to trigger and wait for one probe cycle on
      first connection which calls initTM(). If for some reason fail to
      dispatch command to segment, dispatcher will trigger probe anyways, so
      why slow things down upfront.
      1ced7ca9
    • A
      Remove gp_set_read_only and corresponding FTS code. · a37f3705
      Ashwin Agrawal 提交于
      I am not sure on usage of this GUC gp_set_read_only. When set it sets
      FTS to read-only which is then used while starting any transaction and
      converted to read-only. Seems better to achieve the same result using
      GUC `default_transaction_read_only` or `transaction_read_only`, which
      can be used at session-level as well instead of full system-wide
      setting.
      a37f3705
    • A
      Cleanup some FTS functions. · 0e1b9a05
      Ashwin Agrawal 提交于
      0e1b9a05
  2. 22 3月, 2018 17 次提交
    • R
      d5fb628f
    • P
      Fix SIGSEGV issue when freeing gangs · 772bca3f
      Pengzhou Tang 提交于
      Previously, to avoid the leak of the gang if someone terminates
      the query in the middle of gang creation, we added a global pointer
      named CurrentGangCreating so the partially created gang can also be
      destroyed at the end of the transaction. However, the memory context
      named GangContext where CurrentGangCreating was created may be reset
      before CurrentGangCreating is actually destroyed and a SIGSEGV may
      occur. So this commit makes sure that CurrentGangCreating is destroyed
      ahead of other created gangs and the reset of GangContext.
      772bca3f
    • A
      Add info to help debug if missing_xlog test fails. · ee722999
      Ashwin Agrawal 提交于
      ee722999
    • K
      ci: split icw_extensions_gpcloud by platform · f4965548
      Kris Macoskey 提交于
      f4965548
    • K
      ci: remove icw gate and restructure passing conditions · 46fe563a
      Kris Macoskey 提交于
      Allows the compile and icw tests for each platform to pass
      and fail independently of other platforms.
      
      The gate jobs were born out of necessity to handle infrastructure issues
      with concourse. Now that infrastructure issues have been stabilized,
      it's time to review the layout of the pipeline again.
      
      This commit removes the icw_start_gate job that multiplexed a passing
      condition from all of the compile jobs that sat in front of every icw
      job. This was not desirable following a longer running
      issue with the compilation on one platform, ubuntu16, that then blocked
      icw tests on the remaining platforms.
      
      Replacing the passing condition of icw_start_gate on each icw job is the
      corresponding compilation job for the test, based on platform.
      
      E.G.
      
      This:
                          (blocks)          (blocks)
      compile_gpdb_centos6  -> gate_icw_start -> icw_planner_centos6
      compile_gpdb_ubuntu16 ->                -> icw_planner_ubuntu16
      
      Is now this:
      
                          (blocks)
      compile_gpdb_centos6  -> icw_planner_centos6
                          (blocks)
      compile_gpdb_ubuntu16 -> icw_planner_ubuntu16
      Signed-off-by: NTaylor Vesely <tvesely@pivotal.io>
      46fe563a
    • L
      docs - fix incorrect R version reference (#4734) · 4a65bde9
      Lisa Owen 提交于
      4a65bde9
    • A
      Remove not supported concurrent bitmap index test. · bb5b9160
      Ashwin Agrawal 提交于
      Concurrent index builds are not supoorted in greenplum. Seems there exist GUC
      gp_create_index_concurrently under which we still allow the creations. But still
      with the same for bitmap indexes CONCURRENTLY cannot be supported.
      
      This test keeps failing randomly in CI due to "WARNING: ignoring query cancel
      request for synchronous replication to ensure cluster consistency." This happens
      as during bitmap index creation it locally commits on each segment and then one
      of the segment errors during index build with "ERROR: CONCURRENTLY is not
      supported when creating bitmap indexes", issues cancelation message to other
      segments.
      bb5b9160
    • A
      Bump number of retries in missing_xlog test. · 735ca6d1
      Ashwin Agrawal 提交于
      Failures are seen in CI randomly where
      checkpoint_and_wait_for_replication_replay return false, but when check on the
      box later the primaries and mirrors are in sync. So, seems its timing related
      failures maybe sometimes containers are running slow causing delays. This test
      is for checking functionality and not performance, so avoiding flaky failures is
      better with increased number of retries, which in general shouldn't affect
      runtime.
      735ca6d1
    • D
      Fix wrong results for queries of type NOT (select <>) · a0a38df9
      Dhanashree Kashid 提交于
      For queries of the form "NOT (subselect)", planner lost the "NOT" operator
      during the initial pull-up in pull_up_sublinks_qual_recurse() which resulted in
      incorrect filter and hence wrong results. Inside
      pull_up_sublinks_qual_recurse(), when a qual contains NOT, we check if sublink
      type is any one of these: EXISTS, ANY or ALL, and invoke appropriate sublink
      pull up routines. In case of qual of the form "NOT (SELECT <>)" the sublink
      type is EXPR; hence we recurse into the argument of NOT; at which point we
      lose the information about NOT operator.
      
      This commit fixes the issue by returning the node unmodified when the argument
      of NOT is an EXPR sublink. The EXPR sublink, later gets pulled up by
      preprocess_qual_conditions() wherein, pull_up_sublinks() is invoked again to
      handle sublinks in an expression.
      Signed-off-by: NSambitesh Dash <sdash@pivotal.io>
      a0a38df9
    • M
      Remove GPDB_84_MERGE_FIXME from outfuncs.c · 30271024
      Melanie Plageman 提交于
      The pseudocols field was added to RangeTblEntry to avoid duplicates in the
      target list. When the field was added, a WRITE_NODE_FIELD was added in
      _outRangeTblEntry(), but a corresponding READ_NODE_FIELD was not added in the
      _readRangeTblEntry(). Additionally, this field was not added to the readfast
      and outfast functions either since this field was not used after the planning
      stage and did not have to be dispatched to the QE's.  Later, in
      fd6741f9, a corresponding READ_NODE_FIELD was
      added along with a FIXME to decide whether or not to serialize/deserialize.
      After confirming that this field is not used after planning, we have decided to
      remove any serialization/deserialization of the pseudocols member of
      RangeTblEntry
      The pseudocols member of RangeTblEntry is a list of CdbRelColumnInfo. This
      structure was added in the same original commit. An _outCdbRelColumnInfo() was
      added for this structure as well. Similarly, no corresponding
      _readCdbRelColumnInfo() was added. This data structure is only used for making
      pseudocols, so we have also removed the _outCdbRelColumnInfo() function.
      Signed-off-by: NAbhijit Subramanya <asubramanya@pivotal.io>
      30271024
    • T
      Rename GPDB specific waiting status API · aad8cde8
      Taylor Vesely 提交于
      The GPDB specific API for pgstat_report_waiting() accepts waiting
      reason unlike the upstream counterpart, which accepts only a boolean
      flag.  Renaming the API to gpstat_report_waiting() allows us to catch
      new uses of the API introduced from upstream merges.
      Co-authored-by: NAsim R P <apraveen@pivotal.io>
      aad8cde8
    • T
      Fix ps display issues · f26b5799
      Taylor Vesely 提交于
      Without this change, ps display of postmaster child processes may get
      mangled.  E.g.
      
      postgres: 15432, gpadmin isolation2test [local] con14 cmd52 con14 cm?~??????X???
      
      This change uses the GPDB specific function get_real_act_ps_display()
      to get the ps display string before it is modified.
      
      This change also sets Gp_role of FTS daemon process to utility instead
      of the default value of dispatch.  That prevents appending "conXXX" to
      FTS daemon's ps display.
      Co-authored-by: NAsim R P <apraveen@pivotal.io>
      f26b5799
    • T
      Modify system files as root · d97eee65
      Todd Sedano 提交于
      Add missing sudo commands
      
      [ci skip]
      d97eee65
    • T
      Copy authorized_keys into ~/.ssh · 68d4847b
      Todd Sedano 提交于
      [ci skip]
      68d4847b
    • A
      PANIC in debug for "local snapshot's xmin is older". · 34bd7699
      Ashwin Agrawal 提交于
      To help debug the issue, PANIC incase encounter this shouldn't happen case.
      34bd7699
    • L
      6b1c7fc2
    • M
  3. 21 3月, 2018 9 次提交
  4. 20 3月, 2018 11 次提交