From 81ccb21cef6400f2790284638f47993def5d71ec Mon Sep 17 00:00:00 2001 From: mhsong Date: Thu, 6 Nov 2025 15:21:47 +0800 Subject: [PATCH] log spelling fix --- api/python/yr/fnruntime.pyx | 2 +- src/libruntime/fsclient/fs_intf.cpp | 2 +- src/libruntime/groupmanager/named_group.cpp | 4 ++-- src/libruntime/groupmanager/range_group.cpp | 4 ++-- src/libruntime/invoke_order_manager.cpp | 4 ++-- src/libruntime/invokeadaptor/invoke_adaptor.cpp | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/python/yr/fnruntime.pyx b/api/python/yr/fnruntime.pyx index 5353d5d..837ce8f 100644 --- a/api/python/yr/fnruntime.pyx +++ b/api/python/yr/fnruntime.pyx @@ -1068,7 +1068,7 @@ cdef CErrorInfo check_signals() noexcept nogil: try: PyErr_CheckSignals() except KeyboardInterrupt: - errmsg = "recieve teminal kill signal".encode() + errmsg = "receive teminal kill signal".encode() return CErrorInfo(CErrorCode.ERR_CLIENT_TERMINAL_KILLED, CModuleCode.RUNTIME, errmsg) return CErrorInfo() diff --git a/src/libruntime/fsclient/fs_intf.cpp b/src/libruntime/fsclient/fs_intf.cpp index 605082e..01db347 100644 --- a/src/libruntime/fsclient/fs_intf.cpp +++ b/src/libruntime/fsclient/fs_intf.cpp @@ -249,7 +249,7 @@ void FSIntf::HandleSignalRequest(const SignalRequest &req, SignalCallBack callba { this->signalExecutor.Handle( [this, req, callback]() { - YRLOG_DEBUG("recieve signal req, signal is {}, payload is {}", req.signal(), req.payload()); + YRLOG_DEBUG("receive signal req, signal is {}, payload is {}", req.signal(), req.payload()); auto resp = this->handlers.signal(req); callback(resp); }, diff --git a/src/libruntime/groupmanager/named_group.cpp b/src/libruntime/groupmanager/named_group.cpp index f753a43..86a8379 100644 --- a/src/libruntime/groupmanager/named_group.cpp +++ b/src/libruntime/groupmanager/named_group.cpp @@ -27,7 +27,7 @@ NamedGroup::NamedGroup(const std::string &name, const std::string &inputTenantId void NamedGroup::CreateRespHandler(const CreateResponses &resps) { - YRLOG_DEBUG("recieve group create response, resp code is {}, message is {}, runflag is {}", resps.code(), + YRLOG_DEBUG("receive group create response, resp code is {}, message is {}, runflag is {}", resps.code(), resps.message(), runFlag); if (!runFlag) { return; @@ -50,7 +50,7 @@ void NamedGroup::CreateRespHandler(const CreateResponses &resps) void NamedGroup::CreateNotifyHandler(const NotifyRequest &req) { - YRLOG_DEBUG("recieve group create notify, req code is {}, message is {}, runflag is {}", req.code(), req.message(), + YRLOG_DEBUG("receive group create notify, req code is {}, message is {}, runflag is {}", req.code(), req.message(), runFlag); if (!runFlag) { return; diff --git a/src/libruntime/groupmanager/range_group.cpp b/src/libruntime/groupmanager/range_group.cpp index cdc7e3a..926f969 100644 --- a/src/libruntime/groupmanager/range_group.cpp +++ b/src/libruntime/groupmanager/range_group.cpp @@ -44,7 +44,7 @@ void RangeGroup::CreateNotifyHandler(const NotifyRequest &req) void RangeGroup::HandleCreateResp(const CreateResponses &resps) { - YRLOG_DEBUG("recieve group create response, resp code is {}, message is {}, runflag is {}", resps.code(), + YRLOG_DEBUG("receive group create response, resp code is {}, message is {}, runflag is {}", resps.code(), resps.message(), runFlag); if (!runFlag) { return; @@ -77,7 +77,7 @@ void RangeGroup::HandleCreateResp(const CreateResponses &resps) void RangeGroup::HandleCreateNotify(const NotifyRequest &req) { - YRLOG_DEBUG("recieve group create notify, req code is {}, message is {}, runflag is {}", req.code(), req.message(), + YRLOG_DEBUG("receive group create notify, req code is {}, message is {}, runflag is {}", req.code(), req.message(), runFlag); if (!runFlag) { return; diff --git a/src/libruntime/invoke_order_manager.cpp b/src/libruntime/invoke_order_manager.cpp index 1701d57..104f64e 100644 --- a/src/libruntime/invoke_order_manager.cpp +++ b/src/libruntime/invoke_order_manager.cpp @@ -135,7 +135,7 @@ void InvokeOrderManager::Invoke(std::shared_ptr spec) instanceId, spec->requestId, spec->invokeSeqNo, instOrder->unfinishedSeqNo); } else { if (spec->opts.isGetInstance) { - YRLOG_DEBUG("when inovke type is get named instance, need insert instance for ordering, instance id: {}", + YRLOG_DEBUG("when invoke type is get named instance, need insert instance for ordering, instance id: {}", instanceId); auto [it, inserted] = instances.insert({instanceId, ConstuctInstOrder()}); (void)inserted; @@ -170,7 +170,7 @@ void InvokeOrderManager::ClearInsOrderMsg(const std::string &insId, int signal) { absl::MutexLock lock(&mu); if (signal == libruntime::Signal::KillAllInstances) { - YRLOG_DEBUG("reveive signal kill all instances, remove all instance for ordering"); + YRLOG_DEBUG("receive signal kill all instances, remove all instance for ordering"); instances.clear(); return; } diff --git a/src/libruntime/invokeadaptor/invoke_adaptor.cpp b/src/libruntime/invokeadaptor/invoke_adaptor.cpp index b487da8..1f8d9ea 100644 --- a/src/libruntime/invokeadaptor/invoke_adaptor.cpp +++ b/src/libruntime/invokeadaptor/invoke_adaptor.cpp @@ -939,7 +939,7 @@ void InvokeAdaptor::CreateInstanceRaw(std::shared_ptr reqRaw, RawCallbac this->fsClient->CreateAsync( req, [insId, cb](const CreateResponse &resp) -> void { - YRLOG_DEBUG("recieve create raw response, code is {}, instance id is {}, msg is {}", resp.code(), + YRLOG_DEBUG("receive create raw response, code is {}, instance id is {}, msg is {}", resp.code(), resp.instanceid(), resp.message()); if (resp.code() != common::ERR_NONE) { YRLOG_ERROR("start handle failed raw create response, code is {}, instance id is {}, msg is {}", @@ -957,7 +957,7 @@ void InvokeAdaptor::CreateInstanceRaw(std::shared_ptr reqRaw, RawCallbac *insId = resp.instanceid(); }, [insId, cb](const NotifyRequest &req) -> void { - YRLOG_DEBUG("recieve create raw notify, code is {}, req id is {}, msg is {}, instance id is {}", req.code(), + YRLOG_DEBUG("receive create raw notify, code is {}, req id is {}, msg is {}, instance id is {}", req.code(), req.requestid(), req.message(), *insId); NotifyRequest notify; notify.set_code(req.code()); @@ -985,7 +985,7 @@ void InvokeAdaptor::InvokeByInstanceIdRaw(std::shared_ptr reqRaw, RawCal } auto messageSpec = std::make_shared(std::move(req)); this->fsClient->InvokeAsync(messageSpec, [this, cb](const NotifyRequest &req, const ErrorInfo &err) -> void { - YRLOG_DEBUG("recieve invoke raw notify, code is {}, req id is {}, msg is {}", req.code(), req.requestid(), + YRLOG_DEBUG("receive invoke raw notify, code is {}, req id is {}, msg is {}", req.code(), req.requestid(), req.message()); size_t size = req.ByteSizeLong(); auto respRaw = std::make_shared(size); @@ -999,7 +999,7 @@ void InvokeAdaptor::KillRaw(std::shared_ptr reqRaw, RawCallback cb) KillRequest req; req.ParseFromString(std::string(static_cast(reqRaw->MutableData()), reqRaw->GetSize())); this->fsClient->KillAsync(req, [this, cb](const KillResponse &resp, ErrorInfo err) -> void { - YRLOG_DEBUG("recieve kill raw response, code is {}", resp.code()); + YRLOG_DEBUG("receive kill raw response, code is {}", resp.code()); size_t size = resp.ByteSizeLong(); auto respRaw = std::make_shared(size); resp.SerializeToArray(respRaw->MutableData(), size); -- Gitee