[MGNLWEBDAV-10] Locking issue caused by short living sessions Created: 16/Oct/09  Updated: 02/Dec/13  Resolved: 19/Oct/09

Status: Closed
Project: WebDAV (closed)
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Jan Haderka Assignee: Jan Haderka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

Magnolia closes sessions after request processing which collides with long living locks maintained by webdav. Need to find a middle ground or avoid use of locks all together.



 Comments   
Comment by Jan Haderka [ 19/Oct/09 ]

It is actually also possible to configure clients (at least some) to not use locking at all as the snippet from the davfs documentation shows below.

              [no]locks
                     (Do not) lock files on the WebDAV server.
                     Default: locks.
                     Deprecated:  This  option  may  be removed in future ver‐
                     sions. Use option use_locks in /etc/davfs2/davfs2.conf or
                     ~/.davfs2/davfs2.conf instead.
Comment by Jan Haderka [ 19/Oct/09 ]

Current fix for the issue assumes we do not need to use the locks since we don§t use them during regular Magnolia editing either. Should this ever change or should there be any side effects, we can always attempt to use LifetimeSessions, however that would require implementation of some session releasing strategy.

Generated at Mon Feb 12 11:10:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.