Signed-off-by: xinxin shu <xinxin.shu@intel.com>
return 0;
}
-int GenericObjectMap::sync(const Header header, KeyValueDB::Transaction t)
-{
- write_state(t);
- if (header) {
- set_header(header->cid, header->oid, *header, t);
- }
- return 0;
-}
-
bool GenericObjectMap::check(std::ostream &out)
{
bool retval = true;
KeyValueDB::Transaction t
);
- /// Ensure that all previous operations are durable
- int sync(const Header header, KeyValueDB::Transaction t);
-
static const string GLOBAL_STATE_KEY;
static const string PARENT_KEY;