[ 
https://issues.apache.org/jira/browse/HBASE-12339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-12339:
--------------------------------
    Attachment: HBASE-12339.1.patch.txt

Patch adds a log roller. relies on MockRegionServerServices, so we never report 
any flushes to the WAL.

manually tested by watching the log of WALPerfEval for forced flushes and for 
size-based flushes.

> WAL performance evaluation tool doesn't roll logs
> -------------------------------------------------
>
>                 Key: HBASE-12339
>                 URL: https://issues.apache.org/jira/browse/HBASE-12339
>             Project: HBase
>          Issue Type: Bug
>          Components: wal
>    Affects Versions: 0.99.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: HBASE-12339.1.patch.txt
>
>
> the perf eval tool for the wal never sets up a log roller and instead used to 
> just call the rollWriter method directly.
> Eventually it changed to call requestLogRoll instead of attempting to do the 
> roll itself. requestLogRoll is the same method used internal to the wal code 
> and it relies on there being a LogRoller to actually have rolls happen. (the 
> method just notifies all of the listeners for hte wal that one of them should 
> call the roll method.)



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

Reply via email to