From: Adiarto P. <ad...@gm...> - 2008-03-25 21:00:15
|
Hi, I have some questions to clarify my understanding about eXist recovery: Assuming I have recovery enabled, - When there is power outage when eXist is running (dirty shutdown), on the next time exist is turned on, will the recovery process started automatically based on the log? - Is there any way to trigger the recovery process manually? e.g. when we notice that there is a corruption on the data.. - Assuming this case: I am running a long update query (around 10 minutes) that adds a new tag/attribute in ~4000 documents in a collection. In the middle of the query (while it's running), there is power outage. When eXist is turned on the next time, what is the expected behavior/result in the db? Will (1) some of the documents get updated and some not, or will (2) exist rollback everything in the query as if it didn't happen? I have tried to simulate this case on current developent trunk's exist (1 month old from now) - and I got the first case (1). Is this the expected behavior? Thanks, Adi |