Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 37 by [email protected]: Diameter stack peer statistics not thread safe
http://code.google.com/p/jdiameter/issues/detail?id=37

Apologies only found this error now.

With the new multi-threaded FSM code the creating and removing of peer statistics is not thread safe and causes a race condition where a request can fail.

The attached patch is very simple and only affects org.jdiameter.common.impl.controller.AbstractPeer.java

It puts a concurrent Re-entrant lock around adding and removing peer statistics.

PS Also have not managed to test latest jdiameter with SCTP. Unfortunately our only SCTP Diameter client (MME) is our vendor equipment and only currently available in our live networks! As soon as we get a laboratory environment (possibly only in next few months) I will test all the latest and migrate everything over to the latest ASAP.

Attachments:
        peerStatistics_threadsafe.patch  3.6 KB

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to