31 #include "mongo/base/status.h" 32 #include "mongo/base/status_with.h" 44 StatusWith<RecordId>
keyForOptime(
const Timestamp& opTime);
StatusWith< RecordId > extractKey(const char *data, int len)
data and len must be the arguments from RecordStore::insert() on an oplog collection.
Definition: oplog_hack.cpp:67
Copyright (C) 2014 MongoDB Inc.
Definition: bson_collection_catalog_entry.cpp:38
std::shared_ptr< void > data
Definition: ephemeral_for_test_record_store_test.cpp:74
StatusWith< RecordId > keyForOptime(const Timestamp &opTime)
Converts Timestamp to a RecordId in an unspecified manor that is safe to use as the key to in a Recor...
Definition: oplog_hack.cpp:45