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

SyncRequestProcessor snapping too frequently - counts non-log events as log events

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • None
    • None
    • Reviewed

    Description

      Noticed the following issues in SyncRequestProcessor

      1) logCount is incremented even for non-log events (say getData)
      txnlog should return indication if request was logged or not (if hdr ==null it returns)

      also:

      2) move r.nextInt below logCount++ (ie if an actual log event)
      3) fix indentation after txnlog.append (for some reason has unnecessary 4 char indent)

      Attachments

        1. ZOOKEEPER-568.patch
          9 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              phunt Patrick D. Hunt
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: