1. 25 6月, 2019 1 次提交
  2. 24 6月, 2019 1 次提交
  3. 22 6月, 2019 3 次提交
  4. 21 6月, 2019 12 次提交
  5. 20 6月, 2019 13 次提交
  6. 19 6月, 2019 5 次提交
    • D
      DOCS - gpcopy new features (#7748) · d5bbeb1a
      David Yozie 提交于
      * add --port-range option to reference page
      
      * Remove COPY query limitation for ON SEGMENT clause
      
      * small edit to port range
      
      * adding whitespace for consistency
      
      * start --dest-table additions
      
      * Change --port-range to --data-port-range
      
      * Additional info about --dest-table
      
      * Some initial work on query support
      
      * clean up port variables
      
      * Revert "Some initial work on query support"
      
      This reverts commit fd33babba243add74fb0632eb9b33c035b94f781.
      
      * Edits from Chuck
      
      * Removing limitation wording regarding renaming conflict resolution
      
      * Updating --data-port-range based on review feedback
      
      * Feedback from Lisa
      
      * --include-table-file support for query, new JSON-format file
      
      * Change minimum data-port range to 1024; add requirement to cover --jobs; add example port range to --job example
      
      * Split JSON info into new command argument
      
      * Add notice that query isn't supported with multiple table selections
      
      * Add json limitations
      
      * Indent --dest-table for better visibility in synopsis
      
      * Regrouping related parameters in the synopsis
      
      * Reorganizing options according to function; adding sections for each option category
      
      * Removing SQL query info from --include-table-file
      
      * Edits to clarify connection options
      
      * --dest-table edits
      
      * remove --validate limitation; add fix from Jerome
      
      * Revert "Remove COPY query limitation for ON SEGMENT clause"
      
      This reverts commit 5a3119b27e8e29bf1ee8fbff9df41ce7154e2690.
      
      * Revert "Revert "Remove COPY query limitation for ON SEGMENT clause""
      
      This reverts commit 32b3afcae00a382413187e70c99bd05eb5bf0c0b.
      
      * Remove limitation of --validate --append with data in destination table
      
      * Remove semicolon warning, per Ming Li
      
      * Revert "Remove limitation of --validate --append with data in destination table"
      
      This reverts commit 93046734aef4c28aed0c9e6bc7fcdcceb09ee7ab.
      d5bbeb1a
    • A
      Skip vacuuming external and foreign tables at the first place · da0b50d6
      Adam Lee 提交于
      ```
      WARNING:  skipping "__gp_log_master_ext" --- cannot vacuum non-tables or special system tables
      server closed the connection unexpectedly
              This probably means the server terminated abnormally
              before or while processing the request.
      connection to server was lost
      ```
      
      External or foreign tables don't support vacuum action, skip them.
      
      The same checks in vacuum_rel() from upstream are not needed to keep
      since vacuumStatement_Relation() already checked.
      da0b50d6
    • A
      Fix the race in commit_blocking_on_standby test properly · b2756a17
      Asim R P 提交于
      The test injects a skip fault on standby and then starts a create
      table command in background.  The create table command is expected to
      block due to the fault.  The test used to run the create table command
      before waiting for the fault to be triggered.  Sometimes, the command
      was found to complete without blocking if it reached faster than the
      previously started fault injection command.
      
      Make the test deterministic by ensuring that the skip fault is
      triggered on standby and only then start the create table command.
      Introduce wait loop until the create table command is shown as waiting
      in pg_stat_activity.
      
      Commit 7be7e1b3 tried to fix this hastily.  This patch should fix
      it properly.
      
      Reviewed by Jimmy Yih
      b2756a17
    • D
    • H
      2788611e
  7. 18 6月, 2019 3 次提交
  8. 17 6月, 2019 2 次提交
    • A
      Bound the wait and avoid hard-coded dbids in DTM recovery test · 557da5fe
      Asim R P 提交于
      The test used to wait indefinitely for master to shutdown (PANIC) due to all
      retries failing in the second phase of 2PC.  The indefinite wait would actually
      be indefinite if the roles for content0 primary and mirror are flipped.  The
      roles would flip because of a previously failing test.  Fix this by making the
      wait bounded.  Also use new fault injector API, while at it.
      
      Reviewed by Pengzhou Tang.
      557da5fe
    • A
      Isolation2 framework: use utility mode connect when possible · bbbe5da7
      Asim R P 提交于
      When '<content_id>U:' is encountered in isolation2 spec, the framework opens a
      connection to master and obtains hostname and port of the primary segment with
      specified content ID.  This connection to master should be in utility mode.  A
      normal mode connection would wait for DTM recovery and if a test is in the
      middle of testing DTM recovery, the connection may not even complete.
      
      Reviewed by Pengzhou Tang
      bbbe5da7