New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISPN-8241 Refactor RocksDB clearThreshold #8766
Conversation
@diegolovison Maybe we should log a separate issue instead of commenting on that issue, wdyt? |
96d3ee1
to
91ae9d6
Compare
persistence/rocksdb/src/main/java/org/infinispan/persistence/rocksdb/RocksDBStore.java
Outdated
Show resolved
Hide resolved
b34db95
to
b3f7a17
Compare
persistence/rocksdb/src/main/java/org/infinispan/persistence/rocksdb/RocksDBStore.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also probably want to deprecate the configuration builder and the xml variable, which includes changing the parser to ignore the value and throw the error if it is supplied in 12.0+
Also we should probably add a comment to the upgrading guide and remove from the configuration option from the user guide.
persistence/rocksdb/src/main/java/org/infinispan/persistence/rocksdb/RocksDBStore.java
Outdated
Show resolved
Hide resolved
persistence/rocksdb/src/test/java/org/infinispan/persistence/rocksdb/RocksDBStoreTest.java
Outdated
Show resolved
Hide resolved
persistence/rocksdb/src/test/java/org/infinispan/persistence/rocksdb/RocksDBStoreTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few more comments, Diego.
Here's what I would change: master...danberindei:dan_ISPN-8241_RocksDBStore
persistence/rocksdb/src/main/java/org/infinispan/persistence/rocksdb/RocksDBStore.java
Outdated
Show resolved
Hide resolved
persistence/rocksdb/src/main/java/org/infinispan/persistence/rocksdb/RocksDBStore.java
Outdated
Show resolved
Hide resolved
persistence/rocksdb/src/test/java/org/infinispan/persistence/rocksdb/RocksDBStoreTest.java
Outdated
Show resolved
Hide resolved
persistence/rocksdb/src/test/java/org/infinispan/persistence/rocksdb/RocksDBStoreTest.java
Outdated
Show resolved
Hide resolved
persistence/rocksdb/src/test/java/org/infinispan/persistence/rocksdb/RocksDBStoreTest.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/infinispan/persistence/rocksdb/configuration/RocksDBStoreConfiguration.java
Show resolved
Hide resolved
b3f7a17
to
c1f637a
Compare
RocksDBStore now uses DeleteRange to clear the database or a column family.
c1f637a
to
0359a01
Compare
Integrated, thanks Diego! |
https://issues.redhat.com/browse/ISPN-8241