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/03/24 00:10:00 UTC
[jira] [Commented] (HBASE-20269)
ZKReplicationQueueStorage#setWALPosition should only call
ZKUtil#multiOrSequential when there is at least one ZKUtilOp
[ https://issues.apache.org/jira/browse/HBASE-20269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412285#comment-16412285 ]
Duo Zhang commented on HBASE-20269:
-----------------------------------
Why resolved?
> ZKReplicationQueueStorage#setWALPosition should only call ZKUtil#multiOrSequential when there is at least one ZKUtilOp
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-20269
> URL: https://issues.apache.org/jira/browse/HBASE-20269
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Major
> Attachments: 20269.v1.txt
>
>
> In ZKReplicationQueueStorage#setWALPosition :
> {code}
> addLastSeqIdsToOps(queueId, lastSeqIds, listOfOps);
> ZKUtil.multiOrSequential(zookeeper, listOfOps, false);
> {code}
> If there is no ZKUtilOp in listOfOps, the call to ZKUtil#multiOrSequential should be skipped.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)