diff --git a/deps/oblib/src/lib/restore/ob_storage_info.cpp b/deps/oblib/src/lib/restore/ob_storage_info.cpp index b749a7ba2..aed1723e8 100644 --- a/deps/oblib/src/lib/restore/ob_storage_info.cpp +++ b/deps/oblib/src/lib/restore/ob_storage_info.cpp @@ -701,8 +701,7 @@ int ObObjectStorageInfo::get_storage_info_str(char *storage_info, const int64_t } else if (is_assume_role_mode_) { // Access object storage by assume_role int64_t pos = 0; - if (OB_FAIL(databuff_printf(storage_info, info_len, pos, "%s&%s&%s%s", endpoint_, role_arn_, - CHECKSUM_TYPE, get_checksum_type_str()))) { + if (OB_FAIL(databuff_printf(storage_info, info_len, pos, "%s&%s", endpoint_, role_arn_))) { LOG_WARN("failed to set storage info of other types", K(ret), K(info_len), KPC(this)); } // `external_id` is optional @@ -740,8 +739,8 @@ int ObObjectStorageInfo::get_authorization_str( if (OB_FAIL(ObDeviceCredentialMgr::get_instance().get_credential(*this, credential))) { OB_LOG(WARN, "failed to get credential", K(ret), KPC(this), K(credential)); } else if (OB_FAIL(databuff_printf(authorization_str, authorization_str_len, - "%s&%s%s&%s%s&%s%s", endpoint_, ACCESS_ID, credential.access_id_, ACCESS_KEY, - credential.access_key_, CHECKSUM_TYPE, get_checksum_type_str()))) { + "%s&%s%s&%s%s", endpoint_, ACCESS_ID, credential.access_id_, ACCESS_KEY, + credential.access_key_))) { OB_LOG(WARN, "failed to set storage info of other types", K(ret), KP(authorization_str), K(authorization_str_len), KPC(this)); } else if (OB_FAIL(sts_token.assign(credential.sts_token_))) {