Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yongqiang YANG committed Dec 8, 2024
1 parent 19044dd commit 4892cdd
Show file tree
Hide file tree
Showing 2 changed files with 349 additions and 32 deletions.
4 changes: 2 additions & 2 deletions cloud/src/meta-service/meta_service_resource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ int decrypt_instance_info(InstanceInfoPB& instance, const std::string& instance_
return 0;
}

static int decrypt_and_update_ak_sk(ObjectStoreInfoPB& obj_info, MetaServiceCode& code,
int decrypt_and_update_ak_sk(ObjectStoreInfoPB& obj_info, MetaServiceCode& code,
std::string& msg) {
if (obj_info.has_encryption_info()) {
AkSkPair plain_ak_sk_pair;
Expand Down Expand Up @@ -963,7 +963,7 @@ void MetaServiceImpl::alter_storage_vault(google::protobuf::RpcController* contr
return;
}
err = txn->get(key, &val);
LOG(INFO) << "get instance_key=" << hex(key);
LOG(INFO) << "get instance_id=" << instance_id << ", instance_key=" << hex(key);

if (err != TxnErrorCode::TXN_OK) {
code = cast_as<ErrCategory::READ>(err);
Expand Down
Loading

0 comments on commit 4892cdd

Please sign in to comment.