Oliver Zeigermann wrote:
The tx file store has *no real deadlock* detection, but simply assumes there was a deadlock when transactions time out. This still is a TODO!
When you have 10 threads running, transactions take longer and finally time out. For now I will add a timeout parameter to the tx file store...

Done, you can pass an argument "timeout" (in *seconds*) in Domain.xml to both TxXMLFileDescriptorsStore and TxFileContentStore now, maybe like:


<nodestore classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
<parameter name="rootpath">E:/tmp/test/store/node</parameter>
<parameter name="workpath">E:/tmp/test/work/node</parameter>
<parameter name="timeout">20</parameter>
</nodestore>
<contentstore classname="org.apache.slide.store.txfile.TxFileContentStore">
<parameter name="rootpath">E:/tmp/test/store/content</parameter>
<parameter name="workpath">E:/tmp/test/work/content</parameter>
<parameter name="timeout">20</parameter>
</contentstore>





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to