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

Matteo Bertozzi commented on HBASE-16524:
-----------------------------------------

before adding conditions to reduce the number of times we call 
removeInactiveLogs(), let's try to improve the algorithm.

executing every roll does not provide the result we want. 
e.g. WAL-1: [1, 2] Current: [] as soon we update [1, 2] we can remove WAL-1
e.g. WAL-1: [1], WAL-2: [2] as soon we update [1, 2] we can remove WAL-1 and 
WAL-2

> Clean procedure wal periodically instead of on every sync
> ---------------------------------------------------------
>
>                 Key: HBASE-16524
>                 URL: https://issues.apache.org/jira/browse/HBASE-16524
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Appy
>            Assignee: Appy
>            Priority: Minor
>         Attachments: HBASE-16524.master.001.patch, flame1.svg
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to