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

Allan Yang commented on HBASE-21315:
------------------------------------

{code}
-          if ((deleted[i] & (1L << j)) != 0) {
+          if ((deleted[i] & (1L << j)) == 0) {
{code}
Incredible! This logic is wrong all the time?

> The getActiveMinProcId and getActiveMaxProcId of BitSetNode are incorrect if 
> there are no active procedure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21315
>                 URL: https://issues.apache.org/jira/browse/HBASE-21315
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.1.1, 2.0.3
>
>         Attachments: HBASE-21315.patch
>
>
> Found by [~allan163]. If no active procedure, we will return the start as the 
> min proc id, and getEnd() as the max proc id.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to