You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2020/09/14 06:46:00 UTC

[jira] [Commented] (HBASE-24792) LogRoller.walRollFinished may be wrong

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

Viraj Jasani commented on HBASE-24792:
--------------------------------------

I just had a look at the patch, however, I feel we should move this for 2.3.3 considering we are touching WAL code this close to 2.3.2 release. Thought [~ndimiduk]?

> LogRoller.walRollFinished may be wrong
> --------------------------------------
>
>                 Key: HBASE-24792
>                 URL: https://issues.apache.org/jira/browse/HBASE-24792
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha-1, 2.3.1, 2.2.6
>            Reporter: wenfeiyi666
>            Assignee: wenfeiyi666
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 2.2.7, 2.3.2
>
>
> The LogRoller.walRollFinished impl is already buggy. This just checks the status of the boolean. Once we start a roll on a WAL, we reset the boolean (Even before patch HBASE-24665). So it is not clearly telling anything abt the roll status. This can return true even while an active wal roll is going on.
> We might need another boolean in Controller which clearly tracks whether we are ongoing a roll.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)