Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/nameserver/name_server_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ void NameServerImpl::CheckZkClient() {
session_term_ = zk_client_->GetSessionTerm();
PDLOG(INFO, "watch node ok");
} else {
PDLOG(WARNING, "watch node falied");
PDLOG(WARNING, "watch node failed");
}
}
thread_pool_.DelayTask(FLAGS_zk_keep_alive_check_interval, boost::bind(&NameServerImpl::CheckZkClient, this));
Expand Down Expand Up @@ -9409,7 +9409,7 @@ void NameServerImpl::RunSyncTaskFun(uint32_t tid, const boost::function<bool()>&
try {
task_num = boost::lexical_cast<uint32_t>(value);
} catch (std::exception const& e) {
PDLOG(WARNING, "convert to uint falied. table %u value %s", tid, value.c_str());
PDLOG(WARNING, "convert to uint failed. table %u value %s", tid, value.c_str());
break;
}
task_num--;
Expand Down
2 changes: 1 addition & 1 deletion src/zk/dist_lock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void DistLock::InternalLock() {
bool ok = zk_client_->CreateNode(root_path_ + "/lock_request", lock_value_, ZOO_EPHEMERAL | ZOO_SEQUENCE,
assigned_path_);
if (!ok) {
PDLOG(WARNING, "create node falied. lock value %s", lock_value_.c_str());
PDLOG(WARNING, "create node failed. lock value %s", lock_value_.c_str());
continue;
}
PDLOG(INFO, "create node ok with assigned path %s", assigned_path_.c_str());
Expand Down
4 changes: 2 additions & 2 deletions test/integration-test/openmldb-test-python/util/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def GetNsLeader(self) -> tuple([Status, str]):
for record in result:
if record[2] == "leader":
return Status(), record[0]
return Status(-1, "get ns leader falied"), None
return Status(-1, "get ns leader failed"), None

def GetNs(self) -> tuple([Status, list]):
cmd = list(self.ns_base_cmd)
Expand All @@ -163,7 +163,7 @@ def GetNs(self) -> tuple([Status, list]):
for record in result:
if record[2] == "leader":
return Status(), record[0]
return Status(-1, "get ns leader falied"), None
return Status(-1, "get ns leader failed"), None


def ParseResult(self, output) -> list:
Expand Down
2 changes: 1 addition & 1 deletion test/test-tool/openmldb-deploy/cases/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def GetNsLeader(self) -> tuple([Status, str]):
for record in result:
if record[2] == "leader":
return Status(), record[0]
return Status(-1, "get ns leader falied"), None
return Status(-1, "get ns leader failed"), None


def ParseResult(self, output) -> list:
Expand Down
2 changes: 1 addition & 1 deletion tools/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def GetNsLeader(self) -> tuple([Status, str]):
for record in result:
if record[2] == "leader":
return Status(), record[0]
return Status(-1, "get ns leader falied"), None
return Status(-1, "get ns leader failed"), None


def ParseResult(self, output) -> list:
Expand Down