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

James Taylor commented on PHOENIX-4381:
---------------------------------------

+1 on the patch. Would be nice to follow up with some new tests in 
MutationStateTest that test things like:
- adding new mutations to MutationState increases estimatedSize
- deleting mutations decreases estimatedSize
- adding the same mutation again and again keeps the estimatedSize the same
- joining two MutationState instances increases estimatedSize
- commit/rollback resets estimatedSize to 0

> Calculate the estimatedSize of MutationState incrementally
> ----------------------------------------------------------
>
>                 Key: PHOENIX-4381
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4381
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.11.0
>            Reporter: Thomas D'Silva
>            Assignee: Thomas D'Silva
>             Fix For: 4.13.1
>
>         Attachments: PHOENIX-4381.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to