You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Armin Waibel <ar...@code-au-lait.de> on 2004/01/04 03:35:02 UTC

Deadlock when delete objects with m:n reference

Hi all,

while trying to fix a bug with metadata handling I run into a very 
strange reproduceable deadlock when deleting objects with m:n reference 
in a multithreaded environment using sapdb (using hsql the test pass).

To reproduce the deadlock run ...metadata.MetadataMultithreadedTest with 
sapdb (or other DB?). In line 63 you can set loops and concurrent 
threads (e.g. combination 10/8 should pass without problem). If you now 
uncomment lines 270/271 (enable deletion of objects with n:m relation) 
the test will run into the deadlock.

Can someone verify this? What about running this test with uncommented 
delete lines against other DB?

regards,
Armin



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org