[
https://issues.apache.org/jira/browse/PHOENIX-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15390160#comment-15390160
]
James Taylor commented on PHOENIX-3109:
---------------------------------------
One minor nit. The Map should have a key of ImmutableBytesPtr and a value of
ImmutableBytesWritable. No need to cache the hashcode for the values of the map:
{code}
+ private Map<ImmutableBytesPtr, ImmutableBytesPtr>
dataTableLocalIndexFamilyMap;
{code}
> Improve and fix the way we are caching column family names for local indexes
> in IndexMaintainer
> -----------------------------------------------------------------------------------------------
>
> Key: PHOENIX-3109
> URL: https://issues.apache.org/jira/browse/PHOENIX-3109
> Project: Phoenix
> Issue Type: Bug
> Reporter: Samarth Jain
> Assignee: Samarth Jain
> Fix For: 4.8.0
>
> Attachments: PHOENIX-3109.patch, PHOENIX-3109_v2.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)