MCPcopy Create free account
hub / github.com/Tencent/phxsql / LoadFromCheckPoint

Method LoadFromCheckPoint

phxbinlogsvr/core/storage/event_uuid_handler.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int EventUUIDHandler::LoadFromCheckPoint(const EventData &checkpointdata) {
47 int ret = EventUUIDHandler::ParseFromString(checkpointdata.data());
48 if (ret) {
49 return ret;
50 }
51 ColorLogInfo("%s init done ret %d newest gtid %s last instance id %llu", __func__, ret, newest_info_.gtid().c_str(),
52 newest_info_.instance_id());
53 return ret;
54}
55
56EventUUIDHandler::~EventUUIDHandler() {
57}

Callers

nothing calls this directly

Calls 1

ColorLogInfoFunction · 0.85

Tested by

no test coverage detected