William Burns created ISPN-9359:
-----------------------------------
Summary: RocksDB clear always reinitializes the database
Key: ISPN-9359
URL:
https://issues.jboss.org/browse/ISPN-9359
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 9.3.0.Final
Reporter: William Burns
Assignee: William Burns
Fix For: 9.4.0.Alpha1
The RocksDBStore always destroys the database on a clear and reinitializes it. This causes
a lot of disk IO, especially when the store may have very few entries. The configured
clearThreshold is only supposed to reinit the database if so many entries are found, but
the variable should have been checked as *>* instead of *<=*.
{code}
if (optionalIterator.isPresent() && configuration.clearThreshold() <= 0) {
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)