MCPcopy Create free account
hub / github.com/apple/foundationdb / statusToError

Function statusToError

fdbserver/KeyValueStoreShardedRocksDB.actor.cpp:240–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240Error statusToError(const rocksdb::Status& s) {
241 if (s.IsIOError()) {
242 return io_error();
243 } else if (s.IsTimedOut()) {
244 return transaction_too_old();
245 } else {
246 return unknown_error();
247 }
248}
249
250rocksdb::ColumnFamilyOptions getCFOptions() {
251 rocksdb::ColumnFamilyOptions options;

Callers 2

actionMethod · 0.70
actionMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected