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

Duo Zhang commented on HBASE-20781:
-----------------------------------

IIRC the extra code which is used to construct the families for FSWALEntry is 
introduced by per column family flush. I can remember it because I'm sure that 
I also wanted to eliminate it in the first place but finally gave up. Maybe the 
problem is in CP we can add or remove cells in WALEdit? Not sure, long time 
ago...

> Save recalculating families in a WALEdit batch of Cells
> -------------------------------------------------------
>
>                 Key: HBASE-20781
>                 URL: https://issues.apache.org/jira/browse/HBASE-20781
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Performance
>            Reporter: stack
>            Assignee: stack
>            Priority: Major
>         Attachments: 2.0621.2.12782.cpu.svg, 2.0621.256k.51351.cpu.svg, 
> 2.0623.families.121250.cpu.svg, HBASE-20781.master.001.patch
>
>
> Doing a doMiniBatchMutate, we calculate the set of families that the WALEdit 
> Cells belong to up front but down after the RingBuffer when we make an 
> FSWALEdit, we spin through all the Cells again to figure the set of families 
> in a particularly painful way. Just pass the calculated family set in the 
> WALEdit.



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

Reply via email to