[
https://issues.apache.org/jira/browse/PHOENIX-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15390176#comment-15390176
]
James Taylor commented on PHOENIX-3109:
---------------------------------------
You're still putting ImmutableBytesPtr instances as values in the Map:
{code}
+ this.dataTableLocalIndexFamilyMap.put(new
ImmutableBytesPtr(dataTableFamily.getBytes()), new
ImmutableBytesPtr(Bytes.toBytes(IndexUtil.getLocalIndexColumnFamily(dataTableFamily.getString()))));
{code}
and here:
{code}
+ dataTableLocalIndexFamilyMap.put(ref.getFamilyWritable(), new
ImmutableBytesPtr(Bytes.toBytes(IndexUtil.getLocalIndexColumnFamily(Bytes.toString(cf)))));
{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)