1. 27 9月, 2018 2 次提交
  2. 26 9月, 2018 27 次提交
  3. 25 9月, 2018 10 次提交
    • A
      Disable 'emergency mode' autovacuum worker. · 5ce7f06d
      Adam Berlin 提交于
      In GPDB, we only want an autovacuum worker to start once we know
      there is a database to vacuum.
      
      When we changed the default value of the `autovacuum_start_daemon` from
      `true` to `false` for GPDB, we made the behavior of the AutoVacuumLauncherMain()
      be to immediately start an autovacuum worker from the launcher and exit,
      which is called 'emergency mode'.  When the 'emergency mode' is running it is possible
      to continuously start an autovacuum worker. Within the worker, the
      PMSIGNAL_START_AUTOVAC_LAUNCHER signal is sent when a database is found that is old
      enough to be vacuumed, but because we only autovacuum non-connectable
      databases (template0) in GPDB and we do not have logic to filter out
      connectable databases in the autovacuum worker.
      
      This change allows the autovacuum launcher to do more up-front decision making
      about whether it should start an autovacuum worker, including GPDB specific rules.
      Co-authored-by: NAshwin Agrawal <aagrawal@pivotal.io>
      5ce7f06d
    • P
      Allow to add motion to unique-ify the path in create_unique_path(). (#5589) · e9fe4224
      Paul Guo 提交于
      create_unique_path() could be used to convert semi join to inner join.
      Previously, during the Semi-join refactor in commit d4ce0921, creating unique
      path was disabled for the case where duplicats might be on different QEs.
      
      In this patch we enable adding motion to unique_ify the path, only if unique
      mothod is not UNIQUE_PATH_NOOP. We don't create unique path for that case
      because if later on during plan creation, it is possible to create a motion
      above this unique path whose subpath is a motion. In that case, the unique path
      node will be ignored and we will get a motion plan node above a motion plan
      node and that is bad. We could further improve that, but not in this patch.
      Co-authored-by: NAlexandra Wang <lewang@pivotal.io>
      Co-authored-by: NPaul Guo <paulguo@gmail.com>
      e9fe4224
    • D
      Remove bkuprestore test · d6409042
      Daniel Gustafsson 提交于
      The bkuprestore test was imported along with the source code during the
      initial open sourcing, but has never been used and hasn't worked in a
      long time. Rather than trying to save this broken mess, let's remove it
      and start fresh with a pg_dump TAP test which is a much better way to
      test backup/restore.
      Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io>
      Reviewed-by: NJimmy Yih <jyih@pivotal.io>
      d6409042
    • D
      Update ORCA output file for update_gp ICG test · 6d61b3fe
      Dhanashree Kashid 提交于
      6d61b3fe
    • S
      Use PXF server from apache/hawq to the new greenplum/pxf repo (#5798) · 54dee6ce
      Shivram Mani 提交于
      PXF client in gpdb uses pxf libraries from apache hawq repo. These pxf libraries will continue being developed in a new PXF repo greenplum-db/pxf and is in the process of getting open sourced in the next few days. The PXF extension and gpdb-pxf client code will continue to remain in gpdb repo.
      
      The following changes are included in this PR:
      
      Transition from the old PXF namespace org.apache.hawq.pxf to org.greenplum.pxf
      (there is a separate PR in the PXF repo to address the package namespace refactor
      greenplum-db/pxf#5)
      
      Doc updates to reflect the new PXF repo and the new package namespace
      54dee6ce
    • A
      Delete SIGUSR2 based fault injection logic in walreceiver. · fc008690
      Ashwin Agrawal 提交于
      Regular fault injection doesn't work for mirrors. Hence, using SIGUSR2 signal
      and on-disk file coupled with it just for testing a fault injection mechanism
      was coded. This seems very hacky and intrusive, hence plan is to get rid of the
      same. Most of the tests using this framework are found not useful as majority of
      code is upstream. Even if needs testing, better alternative would be explored.
      fc008690
    • A
      Remove remaining unused pieces of wal_consistency_checking. · c9dee15b
      Ashwin Agrawal 提交于
      Most of the backup block related modification for providing the
      wal_consistency_checking was removed as part of 9.3 merge. This was mainly done
      to avoid merge conflicts. The masking functions are still used by
      gp_replica_check tool to perform checking between primary and mirrors. But the
      online version of checking during each replay of record was let go. So, in this
      commit cleaning up remaining pieces which are not used. We will get back this in
      properly working condition when we catch up to upstream.
      c9dee15b
    • A
      Remove some unused and not implemented fault types. · c2bbca41
      Ashwin Agrawal 提交于
      Removing the fault types which do not have implementation. Or have
      implementation but doesn't seem usable. This will just help to have only working
      subset of faults. Like data corruption fault seems pretty useless. Even if
      needed then can be easily coded for specific usecase using the skip fault,
      instead of having special one defined for it.
      
      Fault type "fault" is redundant with "error" hence removing the same as well.
      c2bbca41
    • A
      Add gpdb specific files to .gitignore · 36d33485
      Ashwin Agrawal 提交于
      36d33485
    • D
      Fix volatile functions handling by ORCA · e17c6f9a
      Dhanashree Kashid 提交于
      Following commits have been cherry-picked again:
      
      b1f543f3.
      
      b0359e69.
      
      a341621d.
      
      The contrib/dblink tests were failing with ORCA after the above commits.
      The issue has been fixed now in ORCA v3.1.0. Hence we re-enabled these
      commits and bumping the ORCA version.
      e17c6f9a
  4. 24 9月, 2018 1 次提交