[
https://issues.apache.org/jira/browse/HBASE-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13594032#comment-13594032
]
Jean-Daniel Cryans commented on HBASE-7944:
-------------------------------------------
+1 looks good.
Seems like the refactoring I did in the context of making HLog compression work
with replication didn't really simplify the handling of switching the reader...
> Replication leaks file reader resource & not reset currentNbOperations
> ----------------------------------------------------------------------
>
> Key: HBASE-7944
> URL: https://issues.apache.org/jira/browse/HBASE-7944
> Project: HBase
> Issue Type: Sub-task
> Reporter: Jeffrey Zhong
> Assignee: Jeffrey Zhong
> Fix For: 0.95.0, 0.98.0, 0.94.6
>
> Attachments: 0.94.patch, hbase-7944-addendum-fix-0.patch,
> hbase-7944.patch
>
>
> When I trace test case TestReplicationQueueFailover, I found current
> replication logic has two following issues:
> 1) leak file reader when finishing read a file in function finishCurrentFile
> 2) never reset currentNbOperations(this can be seen in the attached error
> log) such as "currentNbOperations:12655 and seenEntries:0 and size: 0"
> inconsistant info.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira