MCPcopy Create free account
hub / github.com/baidu/tera / WriteTablet

Function WriteTablet

src/admincli.cc:577–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575}
576
577void WriteTablet(const TabletMeta& meta, std::ofstream& ofs) {
578 std::string key, value;
579 MakeMetaTableKeyValue(meta, &key, &value);
580 WriteToStream(ofs, key, value);
581}
582
583CliStatus ProcessMeta(const std::string& op, const TableMetaList& table_list,
584 const TabletMetaList& tablet_list, const std::string& start_key,

Callers 1

ProcessMetaFunction · 0.85

Calls 2

MakeMetaTableKeyValueFunction · 0.85
WriteToStreamFunction · 0.85

Tested by

no test coverage detected