[ https://issues.apache.org/jira/browse/HBASE-24492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17124185#comment-17124185 ]
Viraj Jasani edited comment on HBASE-24492 at 6/2/20, 6:31 PM: --------------------------------------------------------------- Sure [~stack]. The last improvement after which looping is no longer required is HBASE-20604. commit: [https://github.com/apache/hbase/commit/a8ad61ec88f2d147e557f26543157db54dd7fcef] was (Author: vjasani): Sure [~stack]. The last improvement after which looping is no longer required is HBASE-20604. > ProtobufLogReader.readNext does not need looping > ------------------------------------------------ > > Key: HBASE-24492 > URL: https://issues.apache.org/jira/browse/HBASE-24492 > Project: HBase > Issue Type: Task > Reporter: Viraj Jasani > Assignee: Viraj Jasani > Priority: Minor > > ProtobufLogReader.readNext is using infinite while loop for the whole method, > however it returns value of 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)