1. 01 9月, 2017 21 次提交
  2. 31 8月, 2017 14 次提交
    • L
      Disable pxf for icw on sles (#3115) · 8c709516
      Lav Jain 提交于
      8c709516
    • J
      Basic FTS probe response for segment WAL replication · 14fef0d6
      Jimmy Yih 提交于
      Current FTS probe relies on file replication data structures mostly
      found in pmModuleState.  This commit establishes an empty FTS probe
      response packet that primaries using segment WAL replication can fill
      out later.
      
      We also introduce the 'w' fault_strategy (WAL replication) to replace
      the 'f' fault_strategy (file replication).
      
      This commit is carved and modified from a previously closed PR:
      https://github.com/greenplum-db/gpdb/pull/2936
      
      Authors: Abhijit Subramanya and Jimmy Yih
      14fef0d6
    • D
      f73a30c4
    • L
      Bundle PXF with GPDB by default (#3109) · 6ba40dfb
      Lav Jain 提交于
      * Refactor GPHDFS regression to run for pxf
      
      * remove customized Hadoop home location
      
      * PXF tarball creation inside GPDB pipeline
      
      * Remove legacy directory
      
      * Use enable_pxf instead of with_pxf
      6ba40dfb
    • D
      Fix typos and non-ascii chars in comments · f10746c4
      Daniel Gustafsson 提交于
      f10746c4
    • B
      Conan depends lib header location (#3107) · af3fc9b5
      Bhuvnesh 提交于
      * Change the directory location and update readme
      
      When conan is used to build the dependencies (orca & xerces) of gpdb, it
      copies the headers and libraries to the path specified in
      the imports section of the conanfile.txt.
      Changing the target copy location to /usr/local/include and
      /usr/local/lib as its the default for gpdb. In case the user
      prefers to have a different directory, they can change the location
      accordingly.
      af3fc9b5
    • H
      Refactor gp_guc_list_show to have a simpler calling convention. · ddff4877
      Heikki Linnakangas 提交于
      Rather than appending to a StringInfo, return a string. The caller can
      append that to a StringInfo if he wants to. And instead of passing a
      prefix as argument, the caller can prepend that too.
      
      Both callers passed the same format string, so just embed that in the
      function itself.
      
      Don't append a trailing "; ". It's easier for the caller to append it,
      if it's preferred, than to remove it afterwards.
      
      Also add a regression test for the 'gp_enable_fallback_plan' GUC. There
      were none before. The error message you get with that GUC disabled uses the
      gp_guc_list_show function.
      ddff4877
    • H
      Cosmetic fixes to reduce diff vs upstream. · 44e0285a
      Heikki Linnakangas 提交于
      44e0285a
    • H
      Remove a few unused fields. · 39a6812d
      Heikki Linnakangas 提交于
      Plus other minor cleanup.
      39a6812d
    • L
      gpinitsystem: instantiate standby after master · 6f0c85d6
      Larry Hamel 提交于
      Previously, during gpinitsystem, the standby was instantiated in the middle of
      setting up the master. This ordering caused problems because
      initializing the standby could cause an exit when an error
      occurred. As a result of this early exit, the gp_toolkit and DCA gucs
      were not set properly.
      
      Instead, initialize the standby after the master is finished.
      ------------------------------------------
      Previously the exit return code for gpinitsystem was always non-zero.
      Now, it is non-zero only in an error or warning case.
      
      The issue was due to SCAN_LOG interpretation of an empty string as a line count of one.
      Fixed by changing to word count.
      ------------------------------------------
      Initializing a standby can no longer cause gpinitsystem to exit early.
      Added extra logging/output about standby master status.
      Tell user at the end of gpinitsystem if gpinitstandby failed.
      ------------------------------------------
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      6f0c85d6
    • N
      gpaddmirrors: verify heap_checksum is set consistently · ec59b312
      Nadeem Ghani 提交于
      This change adds a check to gpaddmirrors: First check if heap_checksum
      setting is consistent across cluster. If not, fail immediately, else
      continue with the normal workflow.
      Signed-off-by: NShoaib Lari <slari@pivotal.io>
      Signed-off-by: NMarbin Tan <mtan@pivotal.io>
      ec59b312
    • S
      Whitespace commit · 65f4f86d
      Shoaib Lari 提交于
      Signed-off-by: NNadeem Ghani <nghani@pivotal.io>
      65f4f86d
    • J
      Enforce locking contract for PageGetLSN · 737ba06b
      Jacob Champion 提交于
      The locking contract to access LSN of a page is:
      1. Content lock must be held in exclusive mode,
      OR
      2. Content lock must be held in shared mode and buffer header spinlock
      must be held.
      
      PageGetLSN() and BufferGetLSNAtomic() now assert that this contract is
      maintained for shared buffers. To make the implementation for
      PageGetLSN() a little easier, move to a static inline function instead
      of a macro. Callers passing a PageHeader must now explicitly cast to
      Page.
      Signed-off-by: NAsim R P <apraveen@pivotal.io>
      Signed-off-by: NAshwin Agrawal <aagrawal@pivotal.io>
      737ba06b
    • J
      Move to BufferGetLSNAtomic where spinlock is needed · 02e644ae
      Jacob Champion 提交于
      Certain callers of PageGetLSN weren't correctly holding the buffer
      spinlock; it is needed whenever the buffer content lock is not held in
      exclusive mode.
      
      For heapam.c, also ensure that we don't access the LSN after releasing
      the lock.
      Signed-off-by: NAsim R P <apraveen@pivotal.io>
      02e644ae
  3. 30 8月, 2017 5 次提交