Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.0.0
-
None
Description
RocksDB had a bug where RocksDBException subCodes related to disk usage were not present and when a RocksDBException is generated for those it throws an IllegalArgumentException instead obscuring the error. This is fixed in RocksDB master but doesn't appear to have been released yet. Adding this issue so that it can be tracked for a future release.
Exception:
java.lang.IllegalArgumentException: Illegal value provided for SubCode. at org.rocksdb.Status$SubCode.getSubCode(Status.java:109) at org.rocksdb.Status.<init>(Status.java:30) at org.rocksdb.RocksDB.write0(Native Method) at org.rocksdb.RocksDB.write(RocksDB.java:602)