[infinispan-issues] [JBoss JIRA] (ISPN-5517) JDBCBinaryStore size method should query count directly instead of iterating

Dan Berindei (JIRA) issues at jboss.org
Fri Aug 28 13:00:06 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei reopened ISPN-5517:
--------------------------------


The current fix ignores the timestamp of the entries in the bucket, and so it fails when a bucket contains a mix of expired and live entries.

> JDBCBinaryStore size method should query count directly instead of iterating
> ----------------------------------------------------------------------------
>
>                 Key: ISPN-5517
>                 URL: https://issues.jboss.org/browse/ISPN-5517
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>            Reporter: William Burns
>            Assignee: Ryan Emerson
>             Fix For: 8.0.0.CR1, 8.0.0.Final
>
>
> JDBCBinaryStore size method iterates upon all of the rows in the database.  We should instead use the getCountRowsSql from the table manipulation just like JDBCStringBasedStore.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list