jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-2571) Protect the persistent cache against Thread.interrupt
Date Wed, 04 Mar 2015 09:18:05 GMT
Thomas Mueller created OAK-2571:

             Summary: Protect the persistent cache against Thread.interrupt
                 Key: OAK-2571
                 URL: https://issues.apache.org/jira/browse/OAK-2571
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
             Fix For: 1.2, 1.1.7, 1.0.13

If an application calls Thread.interrupt() on a thread that currently uses the persistent
cache, then the cache file (FileChannel) is closed, which makes the operation and all further
operations fail.

The persistent cache should be protected against Thread.interrupt() in some way. It should
log a warning, and then for example close itself (degrading performance), or re-open the file.

This message was sent by Atlassian JIRA

View raw message