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

binlijin commented on HBASE-19253:
----------------------------------

bq. How is the max determined ?
Just random select.
bq. When would the if block be executed ? It seems once the sleep is executed, 
subsequent iterations would always sleep.
The handlerCount can be changed when update_config. First start 8 (default) 
FlushHandler workers and only 2 do the flush the others just sleep,   when 
handlerCount changed dynamic, the number of workers can do flush changed.
bq. getFlusherThreadNum -> getFlusherThreadCount
OK.
bq. The second if can be 'else if'
OK.



> Dynamic change MemStoreFlusher FlushHandler workers
> ---------------------------------------------------
>
>                 Key: HBASE-19253
>                 URL: https://issues.apache.org/jira/browse/HBASE-19253
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: binlijin
>            Assignee: binlijin
>         Attachments: HBASE-19253.master.001.patch, 
> HBASE-19253.master.002.patch
>
>
> Use update_config to dynamic change MemStoreFlusher FlushHandler workers



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

Reply via email to