1. 30 8月, 2017 1 次提交
    • H
      Eliminate '#include "utils/resowner.h"' from lock.h · 6b25c0a8
      Heikki Linnakangas 提交于
      It was getting in the way of backporting commit 9b1b9446f5 from PostgreSQL,
      which added an '#include "storage/lock.h"' to resowner.h, forming a cycle.
      
      The include was only needed for the decalaration of awaitedOwner global
      variable. Replace "ResourceOwner" with the equivalent "struct
      ResourceOwnerData *" to avoid it.
      
      This revealed a bunch of other files that were relying on resowner.h
      being indirectly included through lock.h. Include resowner.h directly
      in those files.
      
      The ResPortalIncrement.owner field was not used for anything, so instead
      of including resowner.h in that file, just remove the field that needed
      it.
      6b25c0a8
  2. 11 8月, 2017 1 次提交
  3. 28 2月, 2017 1 次提交
    • A
      FileRep processes should access heap only after xlog replay · 000409af
      Ashwin Agrawal, Asim R P and Xin Zhang 提交于
      Bad things happen otherwise. One case in point is create database
      followed by a crash. Create database requests a checkpoint after
      inserting new tuple into pg_database. Crash happens right after
      create database commits and before clog update is not flushed to disk.
      Relcache initialization before xlog replay will set HEAP_XMIN_INVALID
      hint bit in the newly created database's tuple because clog did not
      report the xmin as committed.
      
      The FileRep processes including:
      - recovery process
      - resync manager process
      - resync worker process
      000409af
  4. 24 2月, 2017 1 次提交
  5. 23 2月, 2017 1 次提交
    • A
      Primary recovery process should access heap only after xlog replay · 0e9d10d2
      Ashwin Agrawal, Asim R P and Xin Zhang 提交于
      Bad things happen otherwise.  One case in point is create database
      followed by a crash.  Create database requests a checkpoint after
      inserting new tuple into pg_database.  Crash happens right after
      create database commits and before clog update is not flushed to disk.
      Relcache initialization before xlog replay will set HEAP_XMIN_INVALID
      hint bit in the newly created database's tuple because clog did not
      report the xmin as committed.
      0e9d10d2
  6. 29 12月, 2016 1 次提交
  7. 07 1月, 2016 1 次提交
    • A
      Remove gpverify code. · 8afc1dd1
      Ashwin Agrawal 提交于
      gpverify functionality was planned in past to deliver online
      verification of primary and mirror. It's completely dead code as never
      exposed this functionality and have no plans either. It eliminates
      creation of unused processes, extra directory, some shared memory and
      all.
      8afc1dd1
  8. 28 10月, 2015 1 次提交