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

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


The following commit(s) were added to refs/heads/4.x by this push:
     new 19017c6  PHOENIX-6514 Exception should be thrown
19017c6 is described below

commit 19017c686e9aedbc0515d2467600eb094dec625b
Author: Wei-Chiu Chuang <weic...@apache.org>
AuthorDate: Wed Jul 14 11:17:43 2021 +0800

    PHOENIX-6514 Exception should be thrown
    
    Change-Id: I626eb3878a29e1467835c48f8f446edc72ed04c8
---
 .../java/org/apache/phoenix/coprocessor/PhoenixAccessController.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java
index 4ca9ff2..e668137 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java
@@ -281,7 +281,7 @@ public class PhoenixAccessController extends 
BaseMetaDataEndpointObserver {
                     AccessControlClient.grant(conn, TableName.valueOf(table), 
toUser , null, null,
                             actions);
                 } catch (Throwable e) {
-                    new DoNotRetryIOException(e);
+                    throw new DoNotRetryIOException(e);
                 }
                 return null;
             }

Reply via email to