CorruptManifestException

class CorruptManifestException(message: String, val file: String, val offset: Long = -1, cause: Throwable? = null) : StoreException

The manifest cannot be read as one this implementation wrote.

The manifest is the list of which segments are live and at which level, so losing it is losing the shape of the tree rather than the data in it. An incomplete final record is not this: the manifest is appended and forced before CURRENT names it, so a trailing partial record is a writer that died and is dropped. Anything earlier is reported.

Constructors

Link copied to clipboard
constructor(message: String, file: String, offset: Long = -1, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

name of the manifest file that failed to read.

Link copied to clipboard
open val message: String?
Link copied to clipboard

byte offset within it, or -1 if no single byte is to blame.