I would like to know what the read-lock and write-lock parameters mean. The documentation says they are in a different namespace than database names, so “factbook” doesn’t refer to the “factbook” database. What do the parameters refer to?
For Dharmendra’s questions, if /bloomsbury/config/audit.xml is a path in BaseX rather than a filesystem path, then probably nothing needs to be done other than being aware of what gets locked in which situation as described in that chapter.
If it is a filesystem path, then I think the scenario would need to be described more in order to answer the question.
Kendall
From: basex-talk-bounces@mailman.uni-konstanz.de on behalf of Fabrice ETANCHAUD fetanchaud@pch.cerfrance.fr Date: Thursday, August 17, 2017 at 2:14 AM To: 'Dharmendra Singh' dharam.mahi@gmail.com, BaseX basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Implement read lock and write lock
Hi Dhamendra Kumar,
XQuery and BaseX are extremely productive technologies, But at the cost of a minimal learning time.
I am sorry I cannot help at that point, You should take the time to read a few tutorials and have an overview of all the BaseX capabilities by reading the documentation starter sections.
Best regards, Fabrice
De : Dharmendra Singh [mailto:dharam.mahi@gmail.com] Envoyé : jeudi 17 août 2017 11:04 À : Fabrice ETANCHAUD; BaseX Objet : Re: [basex-talk] Implement read lock and write lock
Thanks for your reply favrice,
I am new in the BaseX so if you little explore.
i have gone through the documentation within documentation these line has been given
declare option query:read-lock "foo,bar"; declare option query:read-lock "batz"; declare option query:write-lock "quix";
i have the file structure:
/bloomsbury/config/audit.xml
so i have to lock the audit.xml so how can i do that.
Regards Dharmendra Kumar Singh
On Thursday, 17 August 2017 2:01 PM, Fabrice ETANCHAUD <fetanchaud@pch.cerfrance.frmailto:fetanchaud@pch.cerfrance.fr> wrote:
Hi Dharmendra Kumar,
Maybe you shall have a look at the following resource :
http://docs.basex.org/wiki/Transaction_Managementhttps://urldefense.proofpoint.com/v2/url?u=http-3A__docs.basex.org_wiki_Transaction-5FManagement&d=DwMGaQ&c=DS6PUFBBr_KiLo7Sjt3ljp5jaW5k2i9ijVXllEdOozc&r=JgwnBEpN1c-DDmq-Up2QMq9rrGyfWK0KtSpT7dxRglA&m=KXAttJfWhYBreEBbFknOurwEqQ4KhOWRtVrDH6t7Sx8&s=09eFTXhLtHgU56-gIAEDVb-csgVoQDBYIskFp9kfNsk&e=
Regards, Fabrice Etanchaud
“Perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away."
Saint-Exupéry
De : basex-talk-bounces@mailman.uni-konstanz.demailto:basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de DK Singh Envoyé : jeudi 17 août 2017 09:53 À : BaseX Objet : [basex-talk] Implement read lock and write lock
Hi All,
How can i implement read lock and write lock, any functions to do this
Regards Dharmendra Kumar Singh