You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ka...@apache.org on 2019/10/12 23:15:33 UTC

[phoenix] branch 4.x-HBase-1.5 updated: PHOENIX-5514 Index read repair should use index rpc handlers

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

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


The following commit(s) were added to refs/heads/4.x-HBase-1.5 by this push:
     new 89d9963  PHOENIX-5514 Index read repair should use index rpc handlers
89d9963 is described below

commit 89d9963587f607ac1fe1a9df16d2688f4a451e42
Author: Gokcen Iskender <gi...@salesforce.com>
AuthorDate: Thu Oct 10 12:58:59 2019 -0700

    PHOENIX-5514 Index read repair should use index rpc handlers
    
    Signed-off-by: Kadir <ko...@salesforce.com>
---
 .../src/main/java/org/apache/phoenix/index/GlobalIndexChecker.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/index/GlobalIndexChecker.java b/phoenix-core/src/main/java/org/apache/phoenix/index/GlobalIndexChecker.java
index 513cd23..1b3b9c3 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/index/GlobalIndexChecker.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/index/GlobalIndexChecker.java
@@ -495,7 +495,7 @@ public class GlobalIndexChecker extends BaseRegionObserver {
 
     @Override
     public void start(CoprocessorEnvironment e) throws IOException {
-        this.hTableFactory = ServerUtil.getDelegateHTableFactory(e, ServerUtil.ConnectionType.DEFAULT_SERVER_CONNECTION);
+        this.hTableFactory = ServerUtil.getDelegateHTableFactory(e, ServerUtil.ConnectionType.INDEX_WRITER_CONNECTION);
         this.metricsSource = MetricsIndexerSourceFactory.getInstance().getGlobalIndexCheckerSource();
     }