I don't know why, but can't repeat it locally.
First I query heavy reading operation on 'db', then I alter('dbcopy', 'db') and the second query waits ending the first.
Why on the server the similar queries executed with errors, hmm.
Hi,
Yes, I know. But reading operation began executing first and not ended when the second query (db:alter) begins.
Hi
If any update operation is going on by others query then you won't be able to read the DB
Please see Basex transaction Management
Thanks
Hi,
Yes, it's opened by client's query first. While that query is in progress, I query "db:alter" for the same database.
How can I query "db:alter" after first query ends?
Thank you
Hi,
It seems that might be your DB is opened or your DB has Benn crashed
Thanks
Hello everyone
I have an error "[db:lock] Database 'db' cannot be updated, it is opened by another process".
While client's "reading" query from 'db' in progress, I query "db:alter('newdb','db')" for the same database.
How can I wait for ending client's query and then "db:alter('newdb','db')"?
--
С уважением,
Ветошкин Владимир Владимирович
--
С уважением,
Ветошкин Владимир Владимирович
--
С уважением,
Ветошкин Владимир Владимирович
--
С уважением,
Ветошкин Владимир Владимирович