ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-874

FileTxnSnapLog.restore does not call listener

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.4.0
    • Component/s: leaderElection
    • Labels:
      None
    • Tags:
      leader election

      Description

      FileTxnSnapLog.restore() does not call listener passed as parameter. The result is that the commitLogs list is empty. When a follower connects to the leader, the leader is forced to send a snapshot to the follower instead of a couple of requests and commits.

        Issue Links

          Activity

          Gavin made changes -
          Link This issue is depended upon by ZOOKEEPER-876 [ ZOOKEEPER-876 ]
          Gavin made changes -
          Link This issue blocks ZOOKEEPER-876 [ ZOOKEEPER-876 ]
          Mahadev konar made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Flavio Junqueira made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Diogo made changes -
          Attachment ZOOKEEPER-874.patch [ 12455142 ]
          Diogo made changes -
          Attachment ZOOKEEPER-874.patch [ 12476003 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Patrick Hunt made changes -
          Assignee Diogo [ dioog ]
          Diogo made changes -
          Attachment commitlog-listener.patch [ 12454865 ]
          Diogo made changes -
          Attachment ZOOKEEPER-874.patch [ 12455142 ]
          Diogo made changes -
          Link This issue blocks ZOOKEEPER-876 [ ZOOKEEPER-876 ]
          Diogo made changes -
          Attachment commitlog-listener.patch [ 12454865 ]
          Diogo made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 3.3.1 [ 12314846 ]
          Fix Version/s 3.4.0 [ 12314469 ]
          Diogo created issue -

            People

            • Assignee:
              Diogo
              Reporter:
              Diogo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development