You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "huangwenbo (Jira)" <ji...@apache.org> on 2020/12/21 01:18:00 UTC

[jira] [Commented] (ZOOKEEPER-4031) Why we would “add the last logfile that is less than the zxid” in FileTxnLog:653

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

huangwenbo commented on ZOOKEEPER-4031:
---------------------------------------

I have a puzzle that I wish could be solved

It is initialized to the designated zxid including zxid, in org. Apache. The zookeeper. Server. Persistence. Filetxlog. Filetxniterator # init.

But, why does it add the last log file smaller than zxid ?

>  Why we would “add the last logfile that is less than the zxid” in FileTxnLog:653 
> ----------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-4031
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4031
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: huangwenbo
>            Priority: Minor
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)