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)