You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2023/02/10 18:22:56 UTC
[phoenix] branch master updated: PHOENIX-6395 Reusing Connection instance object instead of creating everytime in PhoenixAccessController class (addendum: don't close the shared Connection on stop)
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new 54f3acf363 PHOENIX-6395 Reusing Connection instance object instead of creating everytime in PhoenixAccessController class (addendum: don't close the shared Connection on stop)
54f3acf363 is described below
commit 54f3acf363ea09c286fb729fb6ea985ac39a190d
Author: Istvan Toth <st...@apache.org>
AuthorDate: Fri Feb 10 19:21:48 2023 +0100
PHOENIX-6395 Reusing Connection instance object instead of creating everytime in PhoenixAccessController class (addendum: don't close the shared Connection on stop)
---
.../java/org/apache/phoenix/coprocessor/PhoenixAccessController.java | 3 ---
1 file changed, 3 deletions(-)
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 6535e1466e..74d94c1333 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
@@ -165,9 +165,6 @@ public class PhoenixAccessController extends BaseMetaDataEndpointObserver {
@Override
public void stop(CoprocessorEnvironment env) throws IOException {
super.stop(env);
- if (this.accessCheckEnabled) {
- serverConnection.close();
- }
}
@Override