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

findbugs flagged switch statement in followerrequestprocessor.run()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • server
    • None
    • Reviewed

    Description

      followerrequestprocessor:

      is the case statement for SYNC supposed to fall through?
      switch (request.type) {
      case OpCode.sync:
      zks.pendingSyncs.add(request);
      case OpCode.create:

      Please update the docs/code appropriately (if correct note it with comment just after the sync case statement.

      Attachments

        1. ZOOKEEPER-118.patch
          1.0 kB
          Flavio Paiva Junqueira

        Activity

          People

            fpj Flavio Paiva Junqueira
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: