已关闭
ram-a-kv请求返回type字段异常 #2
chuchengkai创建于  8月24日关闭于  8月29日
chuchengkai成员
8月24日 创建

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

给daemon发送请求后查看响应,响应中type字段显示为“type_”

一、缺陷信息

给daemon发送请求后查看响应,响应中type字段显示为“type_”

【缺陷所属的os版本】

cat /etc/os-release
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-163.0.0.1.oe2609.aarch64

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

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

【环境信息】

openeuler 2609 虚拟机

【问题复现步骤】

启动ram-a-kv daemon后发送请求curl -v -X POST http://127.0.0.1:6998/event -H "Content-Type: application/json" -d '{"type":"turn_start","session_id":"nonexistent-session"}'查看响应

【实际结果】

响应为{"ok":true,"type_":"turn_start","data":{"backend_degraded":false,"prefetch_count":0,"prefetch_sent":false}}

【期望结果】

type字段值没有_

【其他相关附件信息】

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

likedislike
openeuler-ci-botopeneuler-ci-bot成员
8月24日 添加了label:sig/sig-intelligence
openeuler-ci-bot
openeuler-ci-bot成员
8月24日 评论:

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 ,
and any of the committers: @chantsztung, @jie-qi, @vanient9gap, @xiangyou_xie, @xtchen .

likedislike
Cchuchengkai成员
8月25日 修改标题为 “ram-a-kv请求返回type字段异常”,原标题为“请求返回type字段异常”
Cchuchengkai成员
8月27日 关联了里程碑:openEuler-26.09-DevStation-round2
VVanient成员
8月29日 关联了pull request:fix(ram-a-kv): serialize response type field without underscore
openeuler-ci-botopeneuler-ci-bot成员
8月29日 关闭了 issue
openeuler-ci-botopeneuler-ci-bot成员
8月29日 issue状态由 待办的 改变为 已完成
Cchuchengkai成员
11 天前 issue状态由 已完成 改变为 已验收