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

Anoop Sam John commented on PHOENIX-4350:
-----------------------------------------

No. The sleep is when seeing the Region memstore size is well above flush size. 
 The loop checks whether the size comes down. Flush is what makes the size to 
come down.  So in effect this wait is for a flush to finish.  The region mostly 
will be under the process of flush as that was initiated when the region 
memstore size gone above flush size.  (As per code the wait/sleep happens when 
the region size is 3 times more than memstore flush size) . Can work with that 
as part of other jira.  I can help with a patch there.

> Replace deprecated or changed Region methods with new APIs
> ----------------------------------------------------------
>
>                 Key: PHOENIX-4350
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4350
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>              Labels: HBase-2.0
>             Fix For: 4.14.0
>
>         Attachments: PHOENIX-4350.patch
>
>




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

Reply via email to