[
https://issues.apache.org/jira/browse/PHOENIX-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736182#comment-17736182
]
ASF GitHub Bot commented on PHOENIX-6943:
-----------------------------------------
shahrs87 commented on PR #1610:
URL: https://github.com/apache/phoenix/pull/1610#issuecomment-1602901308
In bunch of tests I have replaced `PHOENIX_JDBC_URL` with `getUrl()` method.
`PHOENIX_JDBC_URL` is evaluated to `jdbc:phoenix:localhost;test=true` which
doesn't have zookeeper port number in the URL. It defaults to 2181 which is the
default port number. Before the patch in PhoenixTestDriver, we create CQSI
object once, cache it in PhoenixTestDriver and all the other calls uses the
same CQSI object. But after the patch, we maintain a cache of `ConnectionInfo
-> ConnectionQueryServices` within PhoenixTestDriver. To construct the right
ConnectionInfo we need the actual zookeeper port number. Thats why we can't use
`PHOENIX_JDBC_URL` anymore.
> Add MetadaCache on each region server.
> --------------------------------------
>
> Key: PHOENIX-6943
> URL: https://issues.apache.org/jira/browse/PHOENIX-6943
> Project: Phoenix
> Issue Type: Sub-task
> Components: core
> Reporter: Rushabh Shah
> Assignee: Rushabh Shah
> Priority: Major
> Fix For: 5.2.0
>
>
> Design doc
> [here|https://docs.google.com/document/d/1ZIu7TyzI7aDhgMOWa7mbUmwbFNbiPVwpWjb6QisT4ng/edit#heading=h.fa8lnra4hvey].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)