Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1198 Refactorings and Cleanups
  3. ZOOKEEPER-1248

multi transaction sets request.exception without reason

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.7.0, 3.5.9
    • Component/s: None
    • Labels:
      None

      Description

      I'm trying to understand the purpose of the exception field in request. This isn't made easier by the fact that the multi case in PrepRequestProcessor sets the exception without reason.

      The only code that calls request.getException() is in FinalRequestProcessor and this code only acts when the operation is not a multi operation.

        Attachments

        1. ZOOKEEPER-1248.patch
          2 kB
          Thomas Koch
        2. ZOOKEEPER-1248.patch
          2 kB
          Thomas Koch
        3. ZOOKEEPER-1248.patch
          2 kB
          Thomas Koch

          Activity

            People

            • Assignee:
              thkoch Thomas Koch
              Reporter:
              thkoch Thomas Koch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: