Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Log RocksDBException as error and print the exception #9

Open
wants to merge 1 commit into
base: rocks_3.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/java/org/apache/cassandra/rocksdb/RocksDBCF.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ private void openRocksDB(String rocksDBTableDir, BlockBasedTableConfig tableOpti
}
catch (RocksDBException ex)
{
logger.warn("Failed to load latest RocksDB options for cf {}.{}",
cfs.keyspace.getName(), cfs.name);
logger.error("Failed to load latest RocksDB options for cf {}.{}",
cfs.keyspace.getName(), cfs.name, ex);
}

final long writeBufferSize = RocksDBConfigs.WRITE_BUFFER_SIZE_MBYTES * 1024 * 1024L;
Expand Down