From: Toar <toa...@gm...> - 2006-08-03 20:54:19
|
Hello all, I've been haunted with this issue for awhile now. >From time to time, this is what I found out: I've managed to reproduce the same behavior before by creating an error/exception in my query. I will need to reconfirm this but it is either with my failed updates or doing an xmldb:store to an unexisting collection that may have caused this. My guess is on the latter though. This is the query I played with today: let $x := <date period="2006"><i>a</i></date> for $i in $x/i return $i and let $x := <date period="2006"><i>a</i></date> for $i in $x/i return xmldb:store("/db/i", "i.xml", $i) NOTE: /db/i collection doesn't exist I notice that when I do this, a file gets created in /db/system/temp with the random 32 digits filename, and inside it there is: <exist:temp xmlns:exist="http://exist.sourceforge.net/NS/exist"> <date period="2006"> <i>a</i> </date> </exist:temp> After awhile, /db/system/temp collection gets deleted and this file is gone. But I notice that sometimes when I go in /db/system/temp, I see more than the <i>a</i> records that I constructed today. Randomly, the temp directory can be filled with many many files which contains records from old queries. I did not manage to reproduce this every time with the sample queries I had given above though. And up until now, I haven't found any of those temp files scattered in other collections. For now, they always end up in /db/system/temp Any comments/hints on this issue and how to properly handle it would be very appreciated. Thank you Toar |