1. 06 8月, 2019 1 次提交
  2. 05 8月, 2019 4 次提交
    • A
      Fix more flakey gp_tablespace_with_faults tests. · fa64cc90
      Adam Berlin 提交于
      The drop tablespace tests that introduce panics were not disabling
      fts, which is a source of flakey tests.
      
      Introduce a disable_fts() function that we can call before each
      test. The fault reset at the end of each test will reenable fts for
      the next test.
      fa64cc90
    • D
      Assorted gpMgmt/bin Makefile fixups · 9f707e1e
      Daniel Gustafsson 提交于
      The tree I was working off clearly had stale files, which led me to
      include two utils which were removed some time ago: gpcheckutil.py
      and gpcheck.py. Remove these two from their respective Makefiles.
      
      Also fix a Bash error in the Stream symlink test, the logoical AND
      requires [[ .. ]]; rather than [ .. ];.
      
      Both of these spotted while repeatedly running make install with
      trees in various states.
      9f707e1e
    • W
      Fix `Explain Analyze` crash · 18f904a7
      Weinan WANG 提交于
      We have a kind of query that its InitPlan execute in ExecutorStart.
      If Explain Analyze this kind of query, as well as, some memory or disk
      information requires to collect in the main plan, the QD will crash.
      Since queryDesc->showstatctx->stats_gathered is assigned to true
      in ExecSetParamPlan function before ExecutorRun, So we only gather
      Initplan metrics and left other slices information over. Segment fault when
      some execution node print out metrics message.
      
      To fix this problem, variable stats_gathered only be assigned after slice 0
      metrics information collection.
      
      reproduce process:
      
      create table t(a int);
      explain analyze select a
      from (
      	select a
      	from t
      	where a > (
      		select avg(a)
      		from t
      	)
      ) as foo
      order by a
      limit 1
      fix issue:#6951
      18f904a7
    • T
      Fix typo in Docker documentation · 83eddecb
      The Alchemist 提交于
      Reviewed-by: NDaniel Gustafsson <dgustafsson@pivotal.io>
      83eddecb
  3. 03 8月, 2019 7 次提交
  4. 02 8月, 2019 15 次提交
  5. 01 8月, 2019 8 次提交
  6. 31 7月, 2019 5 次提交
    • A
      Fix gpperfomon GUC definitions · b5729a03
      Asim R P 提交于
      GUC gp_enable_gpperfmon is defined to be set only at postmaster
      restart.  Having a check hook that checks if the process setting it
      has superuser privileges is meaningless.  The check hook is removed.
      
      GUC gp_gpperfmon_send_interval is intended to be set only by
      superuser.  Adjust its definition accordingly and leverage checks
      built into GUC framework for superuser privileges.  The check hook for
      this GUC tried to achieve the same but incorrectly.  If the check hook
      was invoked at the beginning of main query processing loop by a
      backend process, it would crash.  At the beginning of the main loop, a
      transaction is not started yet.  The check hook invokes superuser()
      interface, which performs catalog access.  Doing so without starting a
      transaction is a recipe for crashing badly.  Such a crash was observed
      in production at least once.
      
      Thank you Jesse Zhang for suggesting to remove superuser check.
      
      The patch doesn't add any tests because, after removing the check
      hooks, the checks built into GUC framework are being used.  That code
      path is well exercised by existing regression tests.
      
      Reviewed-by: Daniel Gustafsson
      b5729a03
    • D
      Fix two more entries in the mailmap · f1ded43f
      Daniel Gustafsson 提交于
      Happened to spot these due to recent correspondence.
      f1ded43f
    • D
      Hook up gpMgmt with toplevel all target · aa1640a6
      Daniel Gustafsson 提交于
      With the revamp of the gpMgmt Makefiles, the catalog json and stream
      binary are now compiled on make all, so we should perform them there
      rather than opt for building on make install. This still leaves some
      modules which are compiled on make install, such as pygresql, but a
      small start is still a start.
      
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      aa1640a6
    • D
      Remove psi from gpMgmt Makefile · 832896ff
      Daniel Gustafsson 提交于
      The psi package is no longer installed anywhere, so remove the target
      from the Makefile.
      
      Reported-by: Shaoqi Bai
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      832896ff
    • D
      Remove dead code · 22e8d1df
      Daniel Gustafsson 提交于
      Discussion: https://github.com/greenplum-db/gpdb/pull/8179
      Reviewed by Bradford Boyle, Kalen Krempely, Jamie McAtamney and
      many more
      22e8d1df