Comment 21 for bug 98836

Revision history for this message
Paul Sladen (sladen) wrote :

AFAICT, there are various levels of "fixing" this required, at the simpler end being:

  1. Don't bother querying the lock for read-only operations (just fail on exception in the case of genuinely inconsistent data)
  2. For commit, only hold the lock during the actual update phase (after the use was closed the editor and saved the tempfile) (comment #6).

to the far larger end of things:

  3. Changing the fundamental update mechanism/process to be lock-free and persistently self-coherent (comment #10).