You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2015/01/15 16:51:34 UTC

[jira] [Created] (OAK-2407) Auto-refresh sessions on revision gc

Michael Dürig created OAK-2407:
----------------------------------

             Summary: Auto-refresh sessions on revision gc
                 Key: OAK-2407
                 URL: https://issues.apache.org/jira/browse/OAK-2407
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segmentmk
            Reporter: Michael Dürig
            Assignee: Michael Dürig


The approach to revision garbage collection taken in OAK-2192 assumes that long running background sessions call refresh once they become active again. Incidentally this is true as such background sessions usually are admin sessions and those are always auto-refreshed on access (see OAK-88, OAK-803, and OAK-960). However as soon as we move away from admin sessions this might not be true any more and we might start seeing {{SegmentNotFoundException}} s unless the user explicitly refreshes the session. 

To prevent this we should make all sessions auto refresh once revision gc runs. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)