Skip to content

Commit

Permalink
fix meta crash after create space (#3660)
Browse files Browse the repository at this point in the history
Co-authored-by: Yichen Wang <18348405+Aiee@users.noreply.github.com>
  • Loading branch information
2 people authored and Sophie-Xie committed Jan 10, 2022
1 parent f6353c4 commit 505e07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/processors/parts/CreateSpaceProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void CreateSpaceProcessor::process(const cpp2::CreateSpaceReq& req) {
auto key = MetaKeyUtils::hostKey(host.host, host.port);
auto ret = doGet(key);
if (!nebula::ok(ret)) {
code = nebula::error(zoneValueRet);
code = nebula::error(ret);
LOG(ERROR) << "Get host " << host << " failed.";
break;
}
Expand Down

0 comments on commit 505e07d

Please sign in to comment.