Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-62

Return the Exception from StateMachine#preAppendTransaction to client as StateMachineException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0-alpha
    • None
    • None

    Description

      This is a TODO in RaftServerImpl#appendTransaction. The IOException thrown by applyLog is actually from the StateMachine#preAppendTransaction. This exception should be return to RaftClient as a StateMachineException.

      Attachments

        1. RATIS-62.000.patch
          7 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: