[
https://issues.apache.org/jira/browse/PHOENIX-4335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16233715#comment-16233715
]
Samarth Jain commented on PHOENIX-4335:
---------------------------------------
Patch looks good, [~jamestaylor]. One minor nit:
I don't see why these have to be an array?
{code}
+ private final static boolean[] reinitialize = new boolean[1];
+ private final static int[] countUpgradeAttempts = new int[1];
+ private final static long[] systemTableVersion =
{MetaDataProtocol.getPriorVersion()};
{code}
> System catalog snapshot created each time a new connection is created
> ---------------------------------------------------------------------
>
> Key: PHOENIX-4335
> URL: https://issues.apache.org/jira/browse/PHOENIX-4335
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.12.0
> Reporter: Mujtaba Chohan
> Assignee: James Taylor
> Priority: Blocker
> Fix For: 4.13.0
>
> Attachments: PHOENIX-4335.patch, PHOENIX-4335_v2.patch
>
>
> With current head of 4.x, System Catalog snapshot is created on each new
> connection.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)