History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-1028
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: James Leigh
Reporter: James Leigh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

Recovery From Abandoned Connections

Created: 06/Jun/12 07:56 PM   Updated: 06/Jun/12 07:59 PM
Component/s: Memory Sail, Native Sail
Affects Version/s: 2.6.6
Fix Version/s: 2.6.7


 Description   
If a repository connection changed the state of the store and was later lost (garbage collected), subsequent calls to getConnection will block indefinitely without any indication as what is happening, and often preventing any further diagnoses. This can be a significant barrier for development teams with less Java coding skills.

Although, the use of finalize methods has shown to add significant overhead to the garbage collector, the use of WeakReference to active locks should allow the lock manager to detect active locks that have been lost, without declaring finalize methods on every lock object.

 All   Comments   Change History      Sort Order:
Comment by James Leigh [06/Jun/12 07:59 PM]
Rewrite the lock manager in revision 11806 to always track all active locks using WeakReferences and check periodically for abandoned locks.