[
https://issues.apache.org/jira/browse/PHOENIX-7502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lokesh Khurana resolved PHOENIX-7502.
-------------------------------------
Fix Version/s: 5.3
Resolution: Fixed
> Decouple principal from HAGroupInfo
> -----------------------------------
>
> Key: PHOENIX-7502
> URL: https://issues.apache.org/jira/browse/PHOENIX-7502
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Lokesh Khurana
> Assignee: Lokesh Khurana
> Priority: Major
> Fix For: 5.3
>
>
> For Phoenix HA Connections, we maintain a cache of HAGroupInfo to current
> ClusterRoleRecord of the HA Group. But we are not including principal as part
> of the
> [key.|https://github.com/apache/phoenix/blob/91cae2577ca2c1e473995f6b541e1a277628e5b0/phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/HighAvailabilityGroup.java#L833]
> This forces us to have a separate group name for each principal leading to
> separate CRR for each principal, but one CRR per policy for a cluster should
> be sufficient.
> We should decouple principal from HAGroupInfo, so that clients from different
> principal can use one CRR.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)