已关闭
ram-a-kv的list_events事件返回与资料描述不一致 #16
chuchengkai创建于  26 天前关闭于  22 天前
chuchengkai成员
26 天前 创建

【缺陷描述】:请补充详细的缺陷问题现象描述

ram-a-kv的list_events事件返回与资料描述不一致

一、缺陷信息

ram-a-kv的list_events事件返回与资料描述不一致

【缺陷所属的os版本】

NAME="openEuler"
VERSION="26.09 (DevStation)"
ID="openEuler"
VERSION_ID="26.09"
PRETTY_NAME="openEuler 26.09 (DevStation)"
ANSI_COLOR="0;31"

【内核版本】

6.6.0-169.0.0.2.oe2609.x86_64

【缺陷所属软件及版本号】

ram-a-kv-0.0.1-1.oe2609.x86_64

【环境信息】

openeuler 2609 虚拟机

【问题复现步骤】

发送list_events事件请求

【实际结果】

curl -X POST http://127.0.0.1:6998/event -H "Content-Type: application/json" -d '{"type":"list_events"}' | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1494 100 1472 100 22 389.4k 5960 0
{
"ok": true,
"type_": "list_events",
"data": {
"events": {
"health": {
"description": "Health check",
"optional": [],
"required": []
},
"session_close": {
"description": "Close session: release references and evict refcount==0 chunks; pinned sessions keep their SQLite row",
"optional": [],
"required": [
"session_id"
]
},
"session_fork": {
"description": "Fork session: increment refcount on the session's chunk_hashes to prevent parent turn_end from evicting",
"optional": [],
"required": [
"session_id"
]
},
"session_fork_end": {
"description": "Fork end: decrement refcount on the session's chunk_hashes, evict blocks with refcount = 0",
"optional": [
"fork_id"
],
"required": [
"session_id"
]
},
"session_map": {
"description": "Get session cache state",
"optional": [],
"required": [
"session_id"
]
},
"session_suspend": {
"description": "Suspend session: pin the SQLite row for snapshot restore, then release references and evict",
"optional": [],
"required": [
"session_id"
]
},
"snapshot_restore": {
"description": "Restore session snapshot: load chunk_hashes from memory or persistent storage, register references + prefetch",
"optional": [
"source_session_id"
],
"required": [
"session_id"
]
},
"turn_end": {
"description": "Post-inference safe eviction + update: decrement refcount, evict only when refcount == 0",
"optional": [
"debug_context"
],
"required": [
"session_id",
"kv_transfer_params"
]
},
"turn_start": {
"description": "Pre-inference prefetch: daemon reads chunk_hashes from the session map and prefetches",
"optional": [],
"required": [
"session_id"
]
}
}
}
}

【期望结果】

image.png

【其他相关附件信息】

【缺陷详情及分析指导参考链接】

likedislike
Cchuchengkai成员
26 天前 关联了里程碑:openEuler-26.09-DevStation-round2
openeuler-ci-botopeneuler-ci-bot成员
26 天前 将 lyhu、huzhengce、liumiao27、zxstty、fromhsc、chuchengkai、gogoxiaoxiao、wqianli、leon-wang2021、kaitiandu 设为负责人
openeuler-ci-botopeneuler-ci-bot成员
26 天前 添加了label:sig/sig-intelligence
openeuler-ci-bot
openeuler-ci-bot成员
26 天前 评论:

Welcome To openEuler Community

Hey @chuchengkai , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-intelligence ,
and any of the maintainers: @fromhsc, @gogoxiaoxiao, @huzhengce, @kaitiandu, @leon-wang2021, @liumiao27, @lyhu, @wqianli, @zxstty ,
and any of the committers: @chantsztung, @jie-qi, @vanient9gap, @xiangyou_xie, @xtchen .

likedislike
VVanient成员
25 天前 关联了pull request:fix(ram-a-kv): remove unused source_session_id and align event contract docs
openeuler-ci-botopeneuler-ci-bot成员
22 天前 关闭了 issue
openeuler-ci-botopeneuler-ci-bot成员
22 天前 issue状态由 待办的 改变为 已完成
Cchuchengkai成员
11 天前 issue状态由 已完成 改变为 已验收