diff --git a/api/python/yr/fnruntime.pyx b/api/python/yr/fnruntime.pyx index 712f11708802ce3d6f652ed571e50bc6ee7ddf77..4c534b10eec824c81dc24ff64fd72d548ba0ce74 100644 --- a/api/python/yr/fnruntime.pyx +++ b/api/python/yr/fnruntime.pyx @@ -2505,7 +2505,7 @@ cdef class Fnruntime: def get_instance_by_name(self, name, ns, timeout): cdef: pair[CFunctionMeta, CErrorInfo] ret - string cinstanceID = (ns + "-" + name if ns else name).encode() + string cinstanceID int sigNo = CSignal.KILLINSTANCESYNC string cname = name.encode() string cns = ns.encode() @@ -2513,6 +2513,8 @@ cdef class Fnruntime: cdef shared_ptr[CLibruntime] c_libruntime = CLibruntimeManager.Instance().GetLibRuntime() if c_libruntime == nullptr: raise RuntimeError("already finalized") + yr_ns = self.get_namespace() + cinstanceID = (ns + "-" + name if ns else yr_ns + "-" + name).encode() with nogil: c_libruntime.get().SetTenantIdWithPriority() ret = c_libruntime.get().GetInstance(cname, cns, ctimeout) diff --git a/src/libruntime/fsclient/fs_intf.cpp b/src/libruntime/fsclient/fs_intf.cpp index f21d530153a7077932141c0d24d1c8673ab29976..529cfaa32ccb10e1b1de097b3507f10f0edb0fbe 100644 --- a/src/libruntime/fsclient/fs_intf.cpp +++ b/src/libruntime/fsclient/fs_intf.cpp @@ -193,7 +193,7 @@ void FSIntf::HandleCheckpointRequest(const CheckpointRequest &req, CheckpointCal if (ExistProcessingRequestId()) { CheckpointResponse resp; resp.set_code(common::ERR_INNER_SYSTEM_ERROR); - resp.set_message("exit processing request"); + resp.set_message("exist processing request, checkpoint error"); callback(resp); return; }