i18nsite opened a new issue, #3285: URL: https://github.com/apache/kvrocks/issues/3285
[English](#en) / [中文](#cn) <a id="en"></a> ## Bug: Kvrocks does not properly support RESP3 protocol ### Environment - **Kvrocks Version**: apache/kvrocks:latest (Docker image) - **Setup**: 1 master + 2 slaves with Redis Sentinel - **Client**: Node.js Redis client with RESP3 enabled ### Description When connecting to Kvrocks through Redis Sentinel with RESP3 protocol enabled, the connection is established but the actual protocol used falls back to RESP2. ### Steps to Reproduce 1. Set up Kvrocks with Sentinel (1 master + 2 slaves) 2. Connect using a Redis client with RESP3 protocol enabled 3. Observe that despite requesting RESP3, the server responds using RESP2 ### Expected Behavior Kvrocks should support RESP3 protocol natively, or clearly indicate in documentation that RESP3 is not supported. ### Actual Behavior - Connection succeeds when specifying RESP3 - However, the actual protocol used is RESP2 - No error or warning is given about RESP3 incompatibility ### Comparison with Redis The same test code works correctly with standard Redis: - Running `./test_redis.sh` - RESP3 works as expected - Running `./test_kvrocks.sh` - Falls back to RESP2 ### Test Repository https://github.com/i18nsite/redis_test Screenshot showing the issue:  --- <a id="cn"></a> ## Bug: Kvrocks 不能正确支持 RESP3 协议 ### 环境 - **Kvrocks 版本**: apache/kvrocks:latest (Docker 镜像) - **配置**: 一主两从 + Redis 哨兵 - **客户端**: Node.js Redis 客户端启用 RESP3 ### 问题描述 当通过 Redis 哨兵连接 Kvrocks 并启用 RESP3 协议时,虽然连接成功,但实际使用的协议降级为 RESP2。 ### 复现步骤 1. 使用哨兵搭建 Kvrocks 集群(一主两从) 2. 使用启用 RESP3 协议的 Redis 客户端连接 3. 观察到虽然请求使用 RESP3,但服务器响应使用的是 RESP2 ### 期望行为 Kvrocks 应该原生支持 RESP3 协议,或者在文档中明确说明不支持 RESP3。 ### 实际行为 - 指定 RESP3 时连接成功 - 但实际使用的协议是 RESP2 - 没有关于 RESP3 不兼容的错误或警告 ### 与 Redis 的对比 相同的测试代码在标准 Redis 上正常工作: - 运行 `./test_redis.sh` - RESP3 正常工作 - 运行 `./test_kvrocks.sh` - 降级为 RESP2 ### 测试仓库 https://github.com/i18nsite/redis_test 问题截图:  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
