2016-02-09 23:12:00 +00:00
|
|
|
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
|
2017-07-15 23:03:42 +00:00
|
|
|
// This source code is licensed under both the GPLv2 (found in the
|
|
|
|
// COPYING file in the root directory) and Apache 2.0 License
|
|
|
|
// (found in the LICENSE.Apache file in the root directory).
|
2015-08-14 23:45:05 +00:00
|
|
|
|
|
|
|
#include "rocksdb/status.h"
|
|
|
|
|
|
|
|
namespace rocksdb {
|
|
|
|
|
|
|
|
const char* Status::msgs[] = {
|
2016-09-07 19:37:45 +00:00
|
|
|
"", // kNone
|
|
|
|
"Timeout Acquiring Mutex", // kMutexTimeout
|
|
|
|
"Timeout waiting to lock key", // kLockTimeout
|
|
|
|
"Failed to acquire lock due to max_num_locks limit", // kLockLimit
|
2017-02-17 18:47:35 +00:00
|
|
|
"No space left on device", // kNoSpace
|
|
|
|
"Deadlock", // kDeadlock
|
2017-04-10 22:38:34 +00:00
|
|
|
"Stale file handle", // kStaleFile
|
|
|
|
"Memory limit reached" // kMemoryLimit
|
2015-08-14 23:45:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace rocksdb
|