Fix log message.
This commit is contained in:
parent
fbd6f27d7b
commit
741c80cf13
@ -96,8 +96,9 @@ DcAuthManager::DcInfo *DcAuthManager::find_dc(int32 dc_id) {
|
||||
void DcAuthManager::update_auth_key_state() {
|
||||
auto dc_id = narrow_cast<int32>(get_link_token());
|
||||
auto &dc = get_dc(dc_id);
|
||||
auto old_auth_key_state = dc.auth_key_state;
|
||||
dc.auth_key_state = get_auth_key_state(dc.shared_auth_data->get_auth_key());
|
||||
VLOG(dc) << "Update " << dc_id << " auth key state from " << dc.auth_key_state << " to " << dc.auth_key_state;
|
||||
VLOG(dc) << "Update DcId{" << dc_id << "} auth key state from " << old_auth_key_state << " to " << dc.auth_key_state;
|
||||
|
||||
loop();
|
||||
}
|
||||
|
@ -308,7 +308,6 @@ class ConcurrentHashMap {
|
||||
continue;
|
||||
}
|
||||
auto node_key = node.key.load(std::memory_order_relaxed);
|
||||
//LOG(ERROR) << node_key << " " << node_key;
|
||||
auto ok = migrate_to_hash_map_->with_value(
|
||||
node_key, true, [&](auto &node_value) { node_value.store(old_value, std::memory_order_relaxed); });
|
||||
LOG_CHECK(ok) << "Migration overflow";
|
||||
|
Loading…
Reference in New Issue
Block a user