Skip to content

Commit

Permalink
Remove deprecated function calling (#3641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shylock-Hg authored Jan 6, 2022
1 parent a319936 commit 34580ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/MetaVersionMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Status MetaVersionMan::updateMetaV1ToV2(kvstore::KVStore* kv) {

Status MetaVersionMan::updateMetaV2ToV3(kvstore::KVStore* kv) {
CHECK_NOTNULL(kv);
auto snapshot = folly::format("META_UPGRADE_SNAPSHOT_{}", MetaKeyUtils::genTimestampStr()).str();
auto snapshot = folly::sformat("META_UPGRADE_SNAPSHOT_{}", MetaKeyUtils::genTimestampStr());
auto meteRet = kv->createCheckpoint(kDefaultSpaceId, snapshot);
if (meteRet.isLeftType()) {
LOG(ERROR) << "Create snapshot failed: " << snapshot;
Expand Down

0 comments on commit 34580ee

Please sign in to comment.