[jacorb-bugs] [Bug 1013] New: Delegate.try_rebind can spin-lock a client

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Jul 10 00:53:56 CEST 2015


http://www.jacorb.org/bugzilla/show_bug.cgi?id=1013

            Bug ID: 1013
           Summary: Delegate.try_rebind can spin-lock a client
           Product: JacORB
           Version: 3.6.1
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ORB
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: mesnier_p at ociweb.com

The Delegate.try_rebind method was intended to give a client an opportunity to
retry a request in some scenarios. For example, a server uses an indirect
object reference such as a corbaname or ImR-based one. The server dies and
restarts. The client tries to use the old forwarded reference and gets an
exception. Before handing the exception back to the application, the Delegate
tries to re-resolve though the original indirect reference. This works fine.

What fails is when such an indirect server throws a TRANSIENT or
OBJECT_NOT_EXIST exception for its own purpose. Then try_rebind gets stuck in a
loop. The solution is to track retry attempts for a given request, so a retry
happens no more than once, and maybe not at all if the specific scenario
described above isn't met.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20150709/f00b5cf1/attachment.html>


More information about the jacorb-bugs mailing list