Skip to content

Commit

Permalink
fix upgrade bug (#3772)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
  • Loading branch information
cangfengzhs and Sophie-Xie committed Jan 26, 2022
1 parent db8672d commit d17cc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/db-upgrade/NebulaKeyUtilsV3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ std::string NebulaKeyUtilsV3::partTagPrefix(PartitionID partId) {
}
std::string NebulaKeyUtilsV3::getVertexKey(folly::StringPiece tagKey) {
std::string key = tagKey.toString();
key[3] = static_cast<uint32_t>(kVertex);
key[0] = static_cast<uint32_t>(kVertex);
key.resize(key.size() - sizeof(TagID));
return key;
}
Expand Down

0 comments on commit d17cc7f

Please sign in to comment.