Lock/release question

Tuesday, 12 May 2015 · 4 messages · last reply 14 May 2015
FB
France Baril12 May 2015 03:02 #
Hi, I am trying to find documentation on functions to explicitly lock/unlock specific files stored in BaseX for a predefined user. Something like: db:lock('db, 'file.xml', 'user', 'write') Something like: db:get-lock-details('db', 'file.xml') would be interesting too. I couldn't find anything. Am I supposed to work with the ~webdav DB? We're trying to get away from the WebDAV interface. Thanks, France
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com
CG
Christian Grün12 May 2015 09:21 #
Hi France, Currently, locks are only applicable in WebDAV. An open issue exists for global lock operations [1]; you are invited to add your comments. Best, Christian [1] https://github.com/BaseXdb/basex/issues/1083
Quoted text · France Baril · 22 lines
On Tue, May 12, 2015 at 1:02 AM, France Baril <france.baril at architextus.com> wrote: > Hi, > > I am trying to find documentation on functions to explicitly lock/unlock > specific files stored in BaseX for a predefined user. Something like: > db:lock('db, 'file.xml', 'user', 'write') > > Something like: > db:get-lock-details('db', 'file.xml') would be interesting too. > > I couldn't find anything. Am I supposed to work with the ~webdav DB? We're > trying to get away from the WebDAV interface. > > Thanks, > > France > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com
FB
France Baril13 May 2015 23:44 #
Do you have an approximate timeframe?
Quoted text · Christian Grün · 38 lines
On Tue, May 12, 2015 at 12:21 AM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi France, > > Currently, locks are only applicable in WebDAV. An open issue exists > for global lock operations [1]; you are invited to add your comments. > > Best, > Christian > > [1] https://github.com/BaseXdb/basex/issues/1083 > > > > On Tue, May 12, 2015 at 1:02 AM, France Baril > <france.baril at architextus.com> wrote: > > Hi, > > > > I am trying to find documentation on functions to explicitly lock/unlock > > specific files stored in BaseX for a predefined user. Something like: > > db:lock('db, 'file.xml', 'user', 'write') > > > > Something like: > > db:get-lock-details('db', 'file.xml') would be interesting too. > > > > I couldn't find anything. Am I supposed to work with the ~webdav DB? > We're > > trying to get away from the WebDAV interface. > > > > Thanks, > > > > France > > > > -- > > France Baril > > Architecte documentaire / Documentation architect > > france.baril at architextus.com >
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com
CG
Christian Grün14 May 2015 15:32 #
Quoted text · France Baril · 1 line
> Do you have an approximate timeframe?
Currently no. It might get a requirement in one of our upcoming commercial projects.
Quoted text · France Baril · 49 lines
On Wed, May 13, 2015 at 9:43 PM, France Baril <france.baril at architextus.com> wrote: > > On Tue, May 12, 2015 at 12:21 AM, Christian Grün <christian.gruen at gmail.com> > wrote: >> >> Hi France, >> >> Currently, locks are only applicable in WebDAV. An open issue exists >> for global lock operations [1]; you are invited to add your comments. >> >> Best, >> Christian >> >> [1] https://github.com/BaseXdb/basex/issues/1083 >> >> >> >> On Tue, May 12, 2015 at 1:02 AM, France Baril >> <france.baril at architextus.com> wrote: >> > Hi, >> > >> > I am trying to find documentation on functions to explicitly lock/unlock >> > specific files stored in BaseX for a predefined user. Something like: >> > db:lock('db, 'file.xml', 'user', 'write') >> > >> > Something like: >> > db:get-lock-details('db', 'file.xml') would be interesting too. >> > >> > I couldn't find anything. Am I supposed to work with the ~webdav DB? >> > We're >> > trying to get away from the WebDAV interface. >> > >> > Thanks, >> > >> > France >> > >> > -- >> > France Baril >> > Architecte documentaire / Documentation architect >> > france.baril at architextus.com > > > > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com

⚡Generated with XQuery