phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas D'Silva (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5273) Singleton ConnectionQueryServices for UpdateCacheAcrossDifferentClientsIT
Date Tue, 07 May 2019 22:43:01 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-5273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835169#comment-16835169
] 

Thomas D'Silva commented on PHOENIX-5273:
-----------------------------------------

Thanks for the review [~dbwong], I have attached a v2 patch with the changes.

> Singleton ConnectionQueryServices for UpdateCacheAcrossDifferentClientsIT
> -------------------------------------------------------------------------
>
>                 Key: PHOENIX-5273
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5273
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.1
>            Reporter: Daniel Wong
>            Assignee: Thomas D'Silva
>            Priority: Minor
>             Fix For: 4.15.0
>
>         Attachments: PHOENIX-5273-4.x-HBase-1.3-v2.patch, PHOENIX-5273-4.x-HBase-1.3.patch
>
>
> While I was implementing my pluggable stats cache and related work I found that the IT,
UpdateCacheAcrossDifferentClientsIT assumes it uses 2 different ConnectionQueryServices. 
When I was debugging it however I saw that it still had the test properties in the JDBC url
which caused it to use the PhoenixTestDriver which has a Singleton for ConnectionQueryServices. 
When I corrected this error one of the tests started failing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message