Description
We've optimized Connection handling by using a PhoenixConnection from the CQSI.
However, we only need an (H)Connection here, so we could use org.apache.phoenix.util.ServerUtil.ConnectionFactory.getConnection(ConnectionType, RegionCoprocessorEnvironment)
and avoid instantiating a PhoenixConnection.
We already avoid the very expensive Connection creation, so this is just a small incremetal improvement over the current code.
Attachments
Issue Links
- is related to
-
PHOENIX-6834 Use Pooled HConnection for Server Side Upsert Select
- Resolved
- relates to
-
PHOENIX-6838 Review unpooled HConnection usage
- Open
- links to