Update rocksdb, more verbose logs

This commit is contained in:
Andrea Cavalli 2023-11-24 01:52:27 +01:00
parent 495cbdea64
commit fe0256dbf9
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
<dbengine.ci>false</dbengine.ci>
<micrometer.version>1.10.4</micrometer.version>
<lucene.version>9.8.0</lucene.version>
<rocksdb.version>8.6.7</rocksdb.version>
<rocksdb.version>8.8.1</rocksdb.version>
<junit.jupiter.version>5.9.0</junit.jupiter.version>
<data.generator.version>1.0.21</data.generator.version>
</properties>

View File

@ -477,7 +477,7 @@ public class LLLocalKeyValueDatabase extends Backuppable implements LLKeyValueDa
} catch (RocksDBException ex) {
switch (ex.getMessage()) {
case "Direct I/O is not supported by the specified DB." -> {
logger.warn(ex.getLocalizedMessage());
logger.warn("RocksDB options failed: {}", ex.getLocalizedMessage());
rocksdbOptions
.setUseDirectReads(false)
.setUseDirectIoForFlushAndCompaction(false)