Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-104

(mux) in Abort messages sent from server, use "partial" flag more intelligently

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • jtsk_2.0
    • None
    • net_jini_jeri
    • None
    • 5037395

    Description

      5037395
      In the current implementation, when an Abort message is sent from the server side of a connection, the "partial" flag is always set, indicating that request data sent by the client may have been processed (with possible side effects) on the server side. The current behavior is unnecessarily conservative; the implementation should leave the "partial" flag unset in situations in which it can guarantee that client retry is safe.

      It seems that one such situation is when ServerConnection.processRequestData throws an exception-- in that case, we can guarantee to the client that the RequestDispatcher (above the current connection-oriented transport provider) has not been invoked for the request, and that is what OutboundRequest.getDeliveryStatus is specified with respect to.

      Evaluation: The particular case described here would seem to be more cleanly implementable after River-103 has been addressed

      Attachments

        Activity

          People

            Unassigned Unassigned
            vinodjohnson Thomas Vinod Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: