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

The zookeeper server return the wrong response for ruok command.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.9.1
    • None
    • server
    • None

    Description

      Users often use the ruok command to probe the zookeeper server status. If the ruok command doesn't return the response, the automation tool will restart the zookeeper.

      But if the quorum zookeeper server encounters some unexpected error, it changes the state to State.ERROR. That means the server can't serve the service anymore. But the ruok still returns the `imok`.

      In this case, it should return `This ZooKeeper instance is not currently serving requests` like other command(WatchCommand)

      Attachments

        Activity

          People

            Unassigned Unassigned
            horizonzy Yan Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: