| 157 | } |
| 158 | |
| 159 | int EventUUIDHandler::UpdateEventUUIDInfoByUUID(const string &uuid, const EventDataInfo &data_info) { |
| 160 | //LogVerbose("%s update gtid uuid %s-%s instance id %llu", __func__, uuid.c_str(), data_info.gtid().c_str(), |
| 161 | // data_info.instance_id()); |
| 162 | map_uuid_[uuid] = data_info; |
| 163 | newest_info_ = data_info; |
| 164 | return OK; |
| 165 | } |
| 166 | |
| 167 | int EventUUIDHandler::GetLastestUUIDPos(EventDataInfo *info) { |
| 168 | for (const auto &it : map_uuid_) { |
nothing calls this directly
no outgoing calls
no test coverage detected