Collection DataBase Locking

Tuesday, 10 November 2015 · 2 messages
AB
Adi Babu10 Nov 2015 06:30 #
While updating the Basex collection data base if it fails because of some unexpected reason the particular database cannot be opened anymore and the message shown in loggers is "*Database ... is being updated, or update was not completed*". I have found that this is because of *upd.basex*. My question is how can I found and remove this file through code to proceed further with a safe execution of the collection database creation process. Thanks & Regards, Adi
CG
Christian Grün10 Nov 2015 15:32 #
Quoted text · Adi Babu · 2 lines
> While updating the Basex collection data base if it fails because of some unexpected reason the particular database cannot be opened anymore and the message shown in loggers is > "Database ... is being updated, or update was not completed".
This usually indicates that an updating query was interrupted; see [1] for more information. [1] http://docs.basex.org/wiki/Transaction_Management
Quoted text · Adi Babu · 5 lines
> I have found that this is because of upd.basex. > My question is how can I found and remove this file through code to proceed further with a safe execution of the collection database creation process. > > Thanks & Regards, > Adi

⚡Generated with XQuery