Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3393

Read-only file system may make the whole ZooKeeper cluster to be unavailable.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.12, 3.4.14
    • None
    • leaderElection, server
    • None

    Description

      Say we have 3 nodes: zk1, zk2, and zk3, zk3 is the leader.

      If the file system of the ZooKeeper data directory of the leader is read-only due to some hardware error, the leader will exit and begin a new election.

      But the election will keep looping because the new leader may be zk3 again, but zk3 will fail to write epoch to disk due to read-only file system.

       

      Since we have 3 nodes, if only one of them is in problem, should the ZooKeeper cluster be available? If the answer is yes, then we ought to fix this problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jiangjiafu Jiafu Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: