You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by la...@apache.org on 2019/06/17 18:46:21 UTC

[phoenix] branch 4.x-HBase-1.3 updated (6f8a213 -> 6ce6e67)

This is an automated email from the ASF dual-hosted git repository.

larsh pushed a change to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git.


 discard 6f8a213  PHOENIX-5348 increase batch size from 1 to 1000.
     new 6ce6e67  PHOENIX-5348 IndexRebuildTaskIT, increase batch size from 1 to 1000.

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6f8a213)
            \
             N -- N -- N   refs/heads/4.x-HBase-1.3 (6ce6e67)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


[phoenix] 01/01: PHOENIX-5348 IndexRebuildTaskIT, increase batch size from 1 to 1000.

Posted by la...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git

commit 6ce6e67013a8419d393ab70e9d57e304a8699d1b
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Mon Jun 17 11:42:06 2019 -0700

    PHOENIX-5348 IndexRebuildTaskIT, increase batch size from 1 to 1000.
---
 .../src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java
index 28821ee..325a500 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/IndexRebuildTaskIT.java
@@ -84,6 +84,7 @@ public class IndexRebuildTaskIT extends BaseUniqueNamesOwnClusterIT {
         Connection viewConn = null;
         try {
             conn = DriverManager.getConnection(getUrl());
+            conn.setAutoCommit(false);
             Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES);
             props.setProperty(PhoenixRuntime.TENANT_ID_ATTRIB, TENANT1);
 
@@ -106,7 +107,7 @@ public class IndexRebuildTaskIT extends BaseUniqueNamesOwnClusterIT {
             viewConn.createStatement().execute(idxSDDL);
 
             // Insert rows
-            int numOfValues = 1;
+            int numOfValues = 1000;
             for (int i=0; i < numOfValues; i++){
                 viewConn.createStatement().execute(
                         String.format("UPSERT INTO %s VALUES('%s', '%s', '%s')", viewName, String.valueOf(i), "y",