1. 21 11月, 2017 1 次提交
    • H
      Move some GPDB-specific code out of smgr.c and md.c. · 306b189d
      Heikki Linnakangas 提交于
      For clarity, and to make merging easier.
      
      The code to manage the hash table of "pending resync EOFs" for append-only
      tables is moved to smgr_ao.c. One notable change here is that the
      pendingDeletesPerformed flag is removed. It was used to track whether there
      are any pending deletes, or any pending AO table resyncs, but we might as
      well check the pending delete list and the pending syncs hash table
      directly, it's hardly any slower than checking a separate boolean.
      
      There are still plenty of GPDB changes in smgr.c, but this is a good step
      forward.
      306b189d
  2. 01 9月, 2017 1 次提交
  3. 14 2月, 2017 1 次提交
  4. 18 1月, 2017 1 次提交
    • A
      Remove `haveNonTemp` from RecordTransactionCommit() · 7194b13e
      Ashwin Agrawal 提交于
      This is addressing the GPDB_83_MERGE_FIXME comment in xact.c:1081.
      
      GPDB doesn't need `haveNonTemp` check, since GPDB doesn't allow data loss.
      
      GPDB doesn't support the asynchronous commits from upstream because this might
      cause data inconsistency across segments in a cluster.
      
      We disable the support of async commit using macro IMPLEMENT_ASYNC_COMMIT.
      And make the user GUC `synchronous_commit` as DEFUNCT_OPTIONS, so that its
      setting will be ignored, and a WARNING is generated.
      
      The original check for temp table in smgrGetPendingFileSysWork() is not valid
      in GPDB, since GPDB temp table use shared buffers to support access across slices.
      
      Once GPDB decide to support async commit, this macro can be removed.
      Signed-off-by: NXin Zhang <xzhang@pivotal.io>
      7194b13e
  5. 20 10月, 2016 1 次提交
    • A
      Avoid storing maxTID for persistent tables. · 4672a5ef
      Ashwin Agrawal 提交于
      It's very error prone to externally maintain variable to track
      maxTID for a table, need to worry about lot of cases like vacuum and all.
      Persistent tables historically used this mechanism to perform certain
      checks, which seem irrelevant now that we are freeing tuples in
      regular heap way for persistent tables as well.
      4672a5ef
  6. 18 8月, 2016 1 次提交
  7. 28 10月, 2015 1 次提交