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

Viraj Jasani edited comment on HBASE-24792 at 9/14/20, 6:45 AM:
----------------------------------------------------------------

I just had a look at the patch, while it looks good at high level, 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]?


was (Author: vjasani):
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)

Reply via email to