[infinispan-issues] [JBoss JIRA] (ISPN-3959) JdbcBinaryStore's expiration locks buckets indefinitely

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu Jan 8 03:18:29 EST 2015


    [ https://issues.jboss.org/browse/ISPN-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030752#comment-13030752 ] 

RH Bugzilla Integration commented on ISPN-3959:
-----------------------------------------------

Tristan Tarrant <ttarrant at redhat.com> changed the Status of [bug 1176265|https://bugzilla.redhat.com/show_bug.cgi?id=1176265] from ASSIGNED to POST

> JdbcBinaryStore's expiration locks buckets indefinitely
> -------------------------------------------------------
>
>                 Key: ISPN-3959
>                 URL: https://issues.jboss.org/browse/ISPN-3959
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 6.0.2.Final, 7.0.0.Alpha4
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>             Fix For: 7.0.0.Alpha5, 7.0.0.Final
>
>
> The buckets are locked in eviction thread (in the main purge method), while unlocked in BucketPurger.call() which is executed in persistence thread. The unlock fails and the buckets stay locked indefinitely.
> Another error is that the Bucket class is not serializable.
> This is also a bug in BaseStoreTest as this uses WithinThreadExecutor as the executor for purging while usually this is done in different thread. Moreover, as the purge method is actually not obliged to purge anything, the test does not test the purging itself, but rather a check for expired entry when it is loaded (contains operation). The purging should be enforced by purge listener (calling the purge method until all entries are purged).



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list