Enum kudu::TabletServerErrorCode
[−]
[src]
pub enum TabletServerErrorCode {
UnknownError,
InvalidSchema,
InvalidRowBlock,
InvalidMutation,
MismatchedSchema,
TabletNotFound,
ScannerExpired,
InvalidScanSpec,
InvalidConfig,
TabletAlreadyExists,
TabletHasANewerSchema,
TabletNotRunning,
InvalidSnapshot,
InvalidScanCallSeqId,
NotTheLeader,
WrongServerUuid,
CasFailed,
AlreadyInProgress,
Throttled,
}Variants
UnknownErrorAn error which has no more specific error code. The code and message in 'status' may reveal more details.
InvalidSchemaThe schema provided for a request was not well-formed.
InvalidRowBlockThe row data provided for a request was not well-formed.
InvalidMutationThe mutations or mutation keys provided for a request were not well formed.
MismatchedSchemaThe schema provided for a request didn't match the actual schema of the tablet.
TabletNotFoundThe requested tablet ID is not currently hosted on the server.
ScannerExpiredA request was made against a scanner ID that was either never created or has expired.
InvalidScanSpecAn invalid scan was specified -- e.g the values passed for predicates were incorrect sizes.
InvalidConfigThe provided configuration was not well-formed and/or had a sequence number that was below the current config.
TabletAlreadyExistsOn a create tablet request, signals that the tablet already exists.
TabletHasANewerSchemaIf the tablet has a newer schema than the requested one the "alter" request will be rejected with this error.
TabletNotRunningThe tablet is hosted on this server, but not in RUNNING state.
InvalidSnapshotClient requested a snapshot read but the snapshot was invalid.
InvalidScanCallSeqIdAn invalid scan call sequence ID was specified.
NotTheLeaderThis tserver is not the leader of the consensus configuration.
WrongServerUuidThe destination UUID in the request does not match this server.
CasFailedThe compare-and-swap specified by an atomic RPC operation failed.
AlreadyInProgressThe requested operation is already inprogress, e.g. RemoteBootstrap.
ThrottledThe request is throttled.
Trait Implementations
impl Debug for TabletServerErrorCode[src]
impl Clone for TabletServerErrorCode[src]
fn clone(&self) -> TabletServerErrorCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for TabletServerErrorCode[src]
impl PartialEq for TabletServerErrorCode[src]
fn eq(&self, __arg_0: &TabletServerErrorCode) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for TabletServerErrorCode[src]
impl Hash for TabletServerErrorCode[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl From<TabletServerErrorCodePB> for TabletServerErrorCode[src]
fn from(error: TabletServerErrorCodePB) -> TabletServerErrorCode
Performs the conversion.