[infinispan-issues] [JBoss JIRA] (ISPN-10419) RocksDB purge should not utilise ArrayList to store multiple expired keys

Ryan Emerson (Jira) issues at jboss.org
Thu Jul 18 10:26:00 EDT 2019


Ryan Emerson created ISPN-10419:
-----------------------------------

             Summary: RocksDB purge should not utilise ArrayList to store multiple expired keys
                 Key: ISPN-10419
                 URL: https://issues.jboss.org/browse/ISPN-10419
             Project: Infinispan
          Issue Type: Enhancement
          Components: Loaders and Stores
    Affects Versions: 10.0.0.Beta4
            Reporter: Ryan Emerson
            Assignee: Ryan Emerson


Currently the RocksDB purge method stores multiple keys that expire at the same time in a ArrayList associated with the expiry time. This is currently marshallable because ArrayList is serializable and we utilise Jboss-marshalling, however ISPN-10354 means this is no longer possible in embedded mode when `infinispan-jboss-marshalling` is not present. Therefore, we should create a `ExpiryBucket` that can be marshalled via the persistence marshaller i.e. protobuf based.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list