You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2021/07/27 23:11:00 UTC

[jira] [Updated] (HBASE-24492) ProtobufLogReader.readNext does not need looping

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

Huaxiang Sun updated HBASE-24492:
---------------------------------
    Fix Version/s:     (was: 2.3.6)
                   2.3.3

> ProtobufLogReader.readNext does not need looping
> ------------------------------------------------
>
>                 Key: HBASE-24492
>                 URL: https://issues.apache.org/jira/browse/HBASE-24492
>             Project: HBase
>          Issue Type: Task
>          Components: Replication, wal
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 2.3.3, 1.7.0, 2.4.0, 2.2.7
>
>
> ProtobufLogReader.readNext is using infinite while loop for the whole method, however it returns value or throws errors in single execution. while(true) was part of initial code and with better improvements in the method, this loop has not been removed yet.



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