<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:michael.meeks@collabora.com" title="Michael Meeks <michael.meeks@collabora.com>"> <span class="fn">Michael Meeks</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - No error message when trying to save a locked document from a SMB external storage in Nextcloud with Collabora Online"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113033">bug 113033</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Priority</td>
           <td>medium
           </td>
           <td>low
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Severity</td>
           <td>normal
           </td>
           <td>enhancement
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - No error message when trying to save a locked document from a SMB external storage in Nextcloud with Collabora Online"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113033#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - No error message when trying to save a locked document from a SMB external storage in Nextcloud with Collabora Online"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113033">bug 113033</a>
              from <span class="vcard"><a class="email" href="mailto:michael.meeks@collabora.com" title="Michael Meeks <michael.meeks@collabora.com>"> <span class="fn">Michael Meeks</span></a>
</span></b>
        <pre>First - Joel ! wonderful to see you again - hope all's well; would love to
catch up.

Second - distributed locking is a living hell. Even if making this rather
complex use-case possible was something we could do easily (and that's far from
clear - it's a mixed Nextcloud, Online issue) - we would then get a slew of
other bugs and use-cases around leaked lock-files; whether Nextcloud should try
to create lock files when it believes a document is open in Online (but only
when that is un-modified? rather than waiting for an hour to be expired?) etc.
- the area opens a enterprise-sized can of worms =)

Some of the reasons why I've resisted getting involved in distributed locking
at least ;-) and that's before we get into leaked locks, inconsistent locks
(where there is an OS/SMB lock on the file, but no lock-file or vv.) and so on
... anyhow.

It is possible we can improve this with some concerted effort; in theory WOPI
has locking extensions that can be implemented, but ... its a massive job to
get right, horribly hard to validate, and will inevitably be deeply
disappointing.

I'd prefer FWIW to work on more robust ways of visualizing and/or merging
changes ;-) now that is something generally useful & interesting.

Nevertheless - we should prolly keep this open, in the long run we may have to
do something here.

Philippe - how are you feeling about this ? and/or do you feel motiviated to
come up with a big matrix / description of the cases we need to handle
(including all the asynchronous races between each of those - it will be many
tens of different stats)  - and what we need to do in those cases.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>