You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/10/15 06:43:00 UTC

[jira] [Commented] (HBASE-21315) The getActiveMinProcId and getActiveMaxProcId of BitSetNode are incorrect if there are no active procedure

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

Duo Zhang commented on HBASE-21315:
-----------------------------------

OK, actually there will be no problem if we only use BitSetNode through ProcedureStoreTracker, as we will remove the empty BitSetNode. But anyway, there is still a bug in the getActiveMinProcId method. 

{code}
if ((deleted[i] & (1L << j)) != 0) {
{code}
should be
{code}
if ((deleted[i] & (1L << j)) == 0) {
{code}

> 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
>            Priority: Major
>
> 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)