| fix(code-quality): fix codecheck violations in functionsystem/src Fix 300+ codecheck issues across 80 files in functionsystem/src to meet MR code quality requirements. Changes by category: - G.EXP.43: remove commented-out dead code (non-TODO blocks) - G.NAM.03: rename symbols to correct case style (CamelCase functions, camelCase variables); e.g. trimDash→TrimDash, endsWith→EndsWith, PREFIX→prefix, member_nodeID→memberNodeId, DOUBLE_CLOSE_EPS→doubleCloseEps - G.FMT.05/06: fix line length (>120 chars) and parameter indentation - G.FMT.17: remove blank lines between function call and result check - G.CNS.02: replace magic numbers with named constexpr constants - G.STD.18: replace strerror() with thread-safe strerror_r() - G.INC.07: reorder #includes (stdlib → third-party → project) - G.EXP.15: replace reinterpret_cast with double static_cast via void* - 缺失析构函数: add virtual destructor defaults to classes with constructors Preserve all TODO-tagged comments and their associated commented-out code blocks per project convention. Skip G.FUN.01 (function length) issues that require major refactoring. Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| upload source code | 7 个月前 |
| upload source code | 7 个月前 |
| 【Sync】同步现有组件代码修改 | 6 个月前 |
| fix(fake-suspend): harden resume rollback and signal promise completion Signed-off-by: Lwy_Robb <luowenyu4@huawei.com> | 2 个月前 |
| fix(codecheck): resolve naming and formatting violations in fake suspend resume paths - rename enableFakeSuspendResume member to camelBack style\n- align multiline function declarations/calls to satisfy G.FMT.06-CPP\n- wrap long lines to satisfy G.FMT.05-CPP\n- split ToSuspend into helper methods to keep function length within rule limit Signed-off-by: Lwy_Robb <luowenyu4@huawei.com> | 2 个月前 |
| 【Sync】同步现有组件代码修改 | 6 个月前 |
| 【Sync】同步现有组件代码修改 | 6 个月前 |
| 【Sync】同步现有组件代码修改 | 6 个月前 |
| 【Sync】同步现有组件代码修改 | 6 个月前 |
| fix: driver实例不存入funcMeta2InstanceIDs,避免master同步etcd数据时将实例删除 Signed-off-by: linziqi <linziqi1@huawei.com> | 1 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| feat(functionsystem): integrate Bazel build, POSIX APIs, and runtime launcher add Bazel workspace and build targets across core components migrate runtime-related protobuf definitions from proto/inner to proto/posix introduce runtime launcher, quota/snapshot management, and related tests Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| fix(code-quality): fix codecheck violations in functionsystem/src Fix 300+ codecheck issues across 80 files in functionsystem/src to meet MR code quality requirements. Changes by category: - G.EXP.43: remove commented-out dead code (non-TODO blocks) - G.NAM.03: rename symbols to correct case style (CamelCase functions, camelCase variables); e.g. trimDash→TrimDash, endsWith→EndsWith, PREFIX→prefix, member_nodeID→memberNodeId, DOUBLE_CLOSE_EPS→doubleCloseEps - G.FMT.05/06: fix line length (>120 chars) and parameter indentation - G.FMT.17: remove blank lines between function call and result check - G.CNS.02: replace magic numbers with named constexpr constants - G.STD.18: replace strerror() with thread-safe strerror_r() - G.INC.07: reorder #includes (stdlib → third-party → project) - G.EXP.15: replace reinterpret_cast with double static_cast via void* - 缺失析构函数: add virtual destructor defaults to classes with constructors Preserve all TODO-tagged comments and their associated commented-out code blocks per project convention. Skip G.FUN.01 (function length) issues that require major refactoring. Signed-off-by: ChamberlainJI <jichenglin1@huawei.com> | 2 个月前 |
| fix: master主备导致proxy偶现重启 & faas-frontend和faas-manager pod数量执行可靠性用例后未重新拉起 fix(master): master主备切换后proxy有概率重启 reason: global发生主备切换后,原主master的domain要收到registered消息再和新global建立心跳,但有概率新global在监听原主master的domain发起心跳超时前才将registered消息发出,导致新global误以为原主master的domain心跳建链超时。 solution: 当前将domian逻辑改为发出register消息后立即发起心跳请求,不等收到registered消息后再发起心跳。将主master刷新lease间隔从5s改为3s以减少长稳场景下master主备切换概率。 fix(proxy&litebus): 执行可靠性用例后,faas-frontend和faas-manager pod数量和预期相比偏少 reason:可靠性用例执行完后metastore里的/sn/instance/bussiness/yrk/tenant有2w左右残留,而且键值对的value体过大,proxy查询/sn/instance/bussiness/yrk/tenant前缀的键值对时因为返回体超过最大字节限制导致litebus和metastore断连,proxy就不能根据metastore里的信息重新拉起faas的pod。 solution: fatal状态的instance消息存到metastore时去掉args参数,增大litebus最大消息体字节数。 Signed-off-by: Tianfeng Sun <suntianfeng@huawei.com> | 5 个月前 |