Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-300

Race condition in rsc's RPC channel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.3
    • RSC
    • None

    Description

      RPC calls are enqueued to the send buffer of the Channel as they are handled out of the event loop.
      While replies are sent to the socket immediately because they are handled in the event loop.
      Message reply might preempt the on going RPC call and causes the RPC channel to go to an unknown state:

      Send call header
      Send reply header
      Send reply payload
      Send call payload
      To fix this, make RPC calls in the event loop.

      Attachments

        Activity

          People

            tc0312 Alex Man
            tc0312 Alex Man
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: