Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
In scrubber there is a possible NullPointerException introduced by CASSANDRA-9140, as discovered by the Coverity static analyzer (CID 109861):
throw new IOError(new IOException(String.format("Key from data file (%s) does not match key from index file (%s)", ByteBufferUtil.bytesToHex(key.getKey()), ByteBufferUtil.bytesToHex(currentIndexKey))));
currentIndexKey may be null and bytesToHex expects non null.
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-9140 Scrub should handle corrupted compressed chunks
- Resolved
- links to