1. 02 4月, 2019 4 次提交
    • J
      dbconn: don't commit a transaction for every connection · 5f128b2e
      Jacob Champion 提交于
      dbconn.connect() was using an odd pattern to set connection parameters
      like client_encoding -- it would SET these parameters after the
      connection was established and then issue a COMMIT. Even if your purpose
      for connecting was read-only, you'd need to wait for a commit (which
      also meant waiting for FTS, if a mirror was down). This is wasteful and
      slow. Let's set those parameters during connection instead.
      
      Now that we no longer wait for a transaction on connection, behave steps
      that relied on those transactions need to be modified. Add unit tests to
      cover the changed implementation.
      Co-authored-by: NDavid Kimura <dkimura@pivotal.io>
      5f128b2e
    • P
      Always wait until the distributed transactions are recovered · a54a557c
      Pengzhou Tang 提交于
      In commit 48cb340d, we spawn a dedicated process to recovery distributed
      transaction, newly requested connections will error out if dtx can't be
      recovered in 4 seconds. This sounds correct to error out quickly because the
      system is indeed unavailable, however, for some utilities like gpstart and
      gprecoverseg, an error like this will be treated as a very scary issue and
      will fail the utilities.
      
      4 seconds is designed to notify the users as soon as possible, now it seems
      better to keep the old behave before 48cb340d which is always waiting until
      the dtx is recovered.
      a54a557c
    • A
      Make sure gpfdist is ready in test cases · f616837a
      Adam Lee 提交于
      It tried to make sure gpfdist is ready by sleep 3 seconds before
      queries, but that could not guarantee. This commit changes the sleep to
      a retry until gpfdist is ready.
      f616837a
    • B
      Refactor ORCA pipeline to remove duplicacy · a6453886
      Bhuvnesh Chaudhary 提交于
      Signed-off-by: NSambitesh Dash <sdash@pivotal.io>
      a6453886
  2. 01 4月, 2019 11 次提交
  3. 30 3月, 2019 1 次提交
  4. 29 3月, 2019 6 次提交
  5. 28 3月, 2019 8 次提交
  6. 27 3月, 2019 10 次提交