[infinispan-issues] [JBoss JIRA] (ISPN-12008) RocksDB: remove expiration buckets
Dan Berindei (Jira)
issues at jboss.org
Tue Jun 16 10:13:00 EDT 2020
Dan Berindei created ISPN-12008:
-----------------------------------
Summary: RocksDB: remove expiration buckets
Key: ISPN-12008
URL: https://issues.redhat.com/browse/ISPN-12008
Project: Infinispan
Issue Type: Sub-task
Components: Loaders and Stores
Reporter: Dan Berindei
Fix For: 12.0.0.Final
The expiration DB stores keys grouped by their expiration timestamp, in milliseconds. The chances of collision are pretty low, but having expiration information grouped by timestamp requires us to read the existing "bucket" every time we store an entry with expiration information.
Changing the format of the expiration DB to {{key = <expiration timestamp> + <key bytes>, value = <nothing>}} would allow us to assume that the expiration key is unique.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list