Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-591

consensus: Return specific RPC error codes when ops fail due to incorrect role

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • M4.5
    • None
    • consensus, rpc
    • None

    Description

      We currently return generic RPC error codes like IllegalState when you try to write to a non-leader replica. We need to plumb specific error codes all the way through the consensus system and return them to the client, or risk having brittle or overly defensive error handling code on the client or master side.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: