You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Didier Berguerand <di...@imtf.ie> on 2002/03/04 17:53:11 UTC
Rollback problem
Hi,
I'm using Slide 1.0.16 and Tomcat 4.0.1
JDBCDescriptorsStore and XAFileContentStore (from your CVS and
completed)
I' trying this test:
- create a collection myCollection
- put 4 files a.xml, b.xml, c.xml and d.xml in this collection
- lock b.xml
- a different user try to delete myCollection and obtain this response:
<d:response><d:href>/lts/1/b.xml</d:href><d:status>HTTP/1.1 423
Locked</d:status></d:response>
- a propfind on myCollection give one file: b.xml
- if I restart the server, a propfind on myCollection give four files:
a.xml, b.xml, c.xml and d.xml !!!
Log (after the lock):
XAFileContentStore remove a.xml ok
JDBCDescriptorsStore remove a.xml ok
XAFileContentStore remove c.xml ok
JDBCDescriptorsStore remove c.xml ok
XAFileContentStore remove d.xml ok
JDBCDescriptorsStore remove d.xml ok
XAFileContentStore remove myCollection (there is one locked file in
myCollection) KO
JDBCDescriptorsStore remove myCollection (there is one locked file in
myCollection) KO
SlideTransactionManager rollback
JDBCDescriptorsStore rollback -> a.xml, c.xml, d.xml
XAFileContentStore rollback -> a.xml, c.xml, d.xml
The xid is the same for all operations.
Questions:
After this test, the propfind on myCollection don't ask the descriptors
store; why?
is it a cache?
Regards,
Didier
l
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>