1. 18 7月, 2019 1 次提交
    • D
      Remove deletion of no longer existing files · e4edf981
      Daniel Gustafsson 提交于
      The list of files to clean in test/regress contained references
      to files no longer present.  pg_class32 was an intermediate file
      in a test for upgrades from Greenplum 3.2 to 3.3/3.4; cppudf.sql
      was added in an Orca testsuite commit which seems to have never
      used that file at all; gmon.out is an output file generated by
      gperf and all gperf invocations have been removed from tests.
      Reviewed-by: NAsim R P <apraveen@pivotal.io>
      Reviewed-by: NJimmy Yih <jyih@pivotal.io>
      e4edf981
  2. 17 7月, 2019 7 次提交
    • P
      Use the correct time unit in BackoffSweeper backend · 16522314
      Pengzhou Tang 提交于
      Commit bfd1f46c used the wrong time unit (expect Ms, passed with Us)
      in BackoffSweeper backend which makes it cannot re-calculate the CPU shares
      in time and the normal backends will sleep more CPU ticks than before in
      CHECK_FOR_INTERRUPTS and cause a performance downgrade.
      16522314
    • A
      Wait for a command to show up in pg_stat_activity · 828086fa
      Asim R P 提交于
      It takes non-zero amount of time after a command is dispatched from a
      client until it appears in pg_stat_activity.  The test must wait
      before validating anything based on pg_stat_activity.  The wait logic
      was already added for one instance of such validation.  This patch
      addres the wait logic for the remaining instance of validation.
      
      Also found a way to avoid creating one table, while at it.
      
      Reviewed-by: Shaoqi Bai and Adam Berlin
      828086fa
    • H
      Fix perfsummary.py script to recognize new optimizer name in EXPLAIN (#8152) · ad80a1a7
      Hans Zeller 提交于
      This tool looks at EXPLAIN plans and recognizes the line with the
      optimizer version. Recently, we added the string "(GPORCA)" to the
      optimizer name.
      
      The fix is to add parentheses to the characters we ignore in this line.
      ad80a1a7
    • H
      Adding a typedef for a type referenced in dead code (#8151) · 59b437e0
      Hans Zeller 提交于
      In my earlier PR #8149 I removed some typedefs using the CSpinlockOS
      class that no longer exists. However, one of those typedefs, ConnectionHT
      was still used in the class. It did not cause any compilation errors,
      probably because this class is unused.
      
      To be consistent and to make the code easier to read, this PR adds back
      the missing typedef. In the long term we could consider removing the
      entire class COptServer.
      59b437e0
    • D
      Add conceptual info for MADlib deep learning (#8055) · 3f976f60
      David Yozie 提交于
      3f976f60
    • H
      Bump ORCA version from 3.55 to 3.57 (#8149) · 7c962aa6
      Hans Zeller 提交于
      * remove reference to deleted header file
      * Remove more references to CSpinlock
      * Bump ORCA version to 3.56 for PR503
      * Bump ORCA version to 3.57 for PR510
      7c962aa6
    • L
      docs - pxf jdbc partition range improvements (#8107) · adb5ea89
      Lisa Owen 提交于
      * docs - pxf jdbc partition range improvements
      
      * misc edits requested by david
      
      * clarify use of RANGE and INTERVAL (hint), edits requested by francisco
      adb5ea89
  3. 16 7月, 2019 5 次提交
    • N
      gpexpand: improve timeout tests · 41646c8d
      Ning Yu 提交于
      Some gpexpand behave tests verify the behaviors of the `--duration` and
      `--end` arguments, they expect the gpexpand data redistribution phase to
      exist after 2 seconds before all the redistribution are done.  However
      internally gpexpand check for the timeout at a 5-second interval, if the
      data redistribution completes within 5 seconds then the tests will fail.
      This is just what is happening recently.
      
      Improve these tests by queueing more tables for redistribution.
      41646c8d
    • X
      fix win curl tool link failure problem (#8142) · 1051346d
      Xiaodong Huo 提交于
      1051346d
    • H
      Add test cases for contrib/sslinfo and enable it (#8105) · 508bdb11
      Hao Wu 提交于
      Add certificates & keys and test cases for contrib/sslinfo
      
      Use `echo` + `sed` to add/remove options in postgresql.conf of
      master node and standby node. This method could completely restore
      the SSL related options in postgresql.conf. The imperfect point is
      this way may overwrite the existing certificates and keys under data directory.
      
      We use newly created certificates and keys, instead of certificates in src/test/ssl/ssl. Because there some fields in those certificates are missing in the test.
      `sslinfo` will only be compiled and packaged when `--with-openssl` option is enabled in configuration, otherwise `sslinfo` is omitted.
      508bdb11
    • N
      gpexpand: Use larger instance_type for more memory · 6f494638
      Nikolaos Kalampalikis 提交于
      After introducing sysctl settings in commit 42930ed1, gpexpand fails to
      shutdown a segment with:
      `'Shutdown failed! [Errno12] Cannot allocate memory'`
      
      This is most likely due to the n1-standard-1 instance_type
      having only 3.75 GB of memory, which is too small causing our python
      utilities to fail when allocating multiple threads. This can be worked
      around by setting the `-B` parallel_process option to a low value, or
      setting the kernel parameter vm.overcommit_memory to 0. However, we
      would like to test the standard sysctl settings as recommended to
      customers, rather than supporting unrealistic edge cases such as
      machines with very low memory.
      Co-authored-by: NNikolaos Kalampalikis <nkalampalikis@pivotal.io>
      6f494638
    • B
      Remove deprecated S3 resources for server RCs · 2c625e9a
      Bradford D. Boyle 提交于
      Release candidates for server and clients are stored in GCS and the S3
      resources were deprecated four months ago. The S3 resources were left in
      the pipeline to give downstream consumers an opportunity to update their
      CI pipelines to use the new GCS resources. This commit finalizes the
      deprecation of the S3 resources.
      Authored-by: NBradford D. Boyle <bboyle@pivotal.io>
      2c625e9a
  4. 15 7月, 2019 2 次提交
    • A
      Pass correct in-progress array pointer for writing to file · e2886364
      Asim R P 提交于
      In case of extended queries, snapshot information is shared between
      reader and writer QEs using files.  The writer obtains a snapshot and
      writes it to file.  This patch fixes a bug that passed incorrect address
      of the array of in-progress transactions for writing to file.  The bug
      caused hard to reproduce errors in production workloads that involved
      extended queries (bind/execute libpq messages, declare cursor
      statements, certain PL/* statements such as RETURN and EXECUTE in
      pl/pgsql).
      
      Reviewed-by: Adam Berlin and Jesse Zhang
      e2886364
    • A
      Unittest for writing and reading cursor snapshot · 3304ac00
      Asim R P 提交于
      Functions under test are dumpSharedLocalSnapshot_forCursor() and
      readSharedLocalSnapshot_forCursor().  Significant amount of global state needs
      to be created for the test to be able to invoke the two functions.  What we are
      testing here is, whether correct snapshot information is included in what is
      written to file.  Validation is performed by reading the contents of the file
      and compairing them with expected values.
      
      An implicit rule to run a unittest is defined in src/Makefile.mock.  This patch
      overrides it such that the required directory for the cursor snapshot file is
      created before running the test.
      
      Reviewed-by: Adam Berlin and Jesse Zhang
      3304ac00
  5. 13 7月, 2019 2 次提交
  6. 12 7月, 2019 4 次提交
  7. 11 7月, 2019 6 次提交
  8. 10 7月, 2019 8 次提交
  9. 09 7月, 2019 5 次提交