diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 5a9a85d12b..a4329c38f8 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,3 +1,73 @@ +# V3.5.6 + +## Improvement + +- Added timing statistics for command processing at different stages, including Redis cache read/update, binlog writing, and storage processing time [#3036](https://github.com/OpenAtomFoundation/pikiwidb/pull/3036)@[wangshao1](https://github.com/wangshao1) + +- Simplified log positioning and added time consumption statistics, updated monitoring information exposure [#3044](https://github.com/OpenAtomFoundation/pikiwidb/pull/3044)@[wangshao1](https://github.com/wangshao1) + +- Added Auth commands to the management command thread pool to avoid connection failure when the main thread pool is blocked [#3048](https://github.com/OpenAtomFoundation/pikiwidb/pull/3048)@[Mixficsol](https://github.com/Mixficsol) + +- After a client closes the connection, the server skips requests received on this connection during processing to avoid request blocking [#3111](https://github.com/OpenAtomFoundation/pikiwidb/pull/3111)@[wangshao1](https://github.com/wangshao1) + + +## Bugfixes + +- Changed clearcache to a read command [#3034](https://github.com/OpenAtomFoundation/pikiwidb/pull/3034)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed issues caused by inconsistent data in some interfaces [#3034](https://github.com/OpenAtomFoundation/pikiwidb/pull/3034)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed errors in the configuration file for the Redis-cache threshold limits [#3034](https://github.com/OpenAtomFoundation/pikiwidb/pull/3034)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed RedisCache async loading issues [#3037](https://github.com/OpenAtomFoundation/pikiwidb/pull/3037)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed the issue of codis-dashboard not updating metadata after Pika-slave node recovery [#3038](https://github.com/OpenAtomFoundation/pikiwidb/pull/3038)@[wangshao1](https://github.com/wangshao1) + +- Fixed parsing failure of info replication master ip:port [#3038](https://github.com/OpenAtomFoundation/pikiwidb/pull/3038)@[wangshao1](https://github.com/wangshao1) + +- Fixed inconsistencies in Append command behavior in cache and database [#3039](https://github.com/OpenAtomFoundation/pikiwidb/pull/3039)@[Mixficsol](https://github.com/Mixficsol) + +- Configured max-key-size-in-cache parameter for String type keys to set the maximum key size in RedisCache in the config file [#3043](https://github.com/OpenAtomFoundation/pikiwidb/pull/3043)@[Mixficsol](https://github.com/Mixficsol) + +- Configured cache-value-item-max-size parameter for Set, List, and Zset types to set the maximum number of elements in RedisCache in the config file [#3043](https://github.com/OpenAtomFoundation/pikiwidb/pull/3043)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed incorrect Codis master-slave switch issue [#3048](https://github.com/OpenAtomFoundation/pikiwidb/pull/3048)@[Mixficsol](https://github.com/Mixficsol) + +- Updated Codis, Pika, and Pika_exporter versions and corrected version time record method, Pika build time now uses the Make compile time and adjusted to UTC time standard [#3049](https://github.com/OpenAtomFoundation/pikiwidb/pull/3049)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed inaccurate RedisCache maximum storage range [#3064](https://github.com/OpenAtomFoundation/pikiwidb/pull/3064)@[Mixficsol](https://github.com/Mixficsol) + +- Added correct admin-cmd-list loading function in the configuration file [#3076](https://github.com/OpenAtomFoundation/pikiwidb/pull/3076)@[Mixficsol](https://github.com/Mixficsol) + +- In pipeline mode, moved auth commands and subsequent commands in the Pipeline to command thread pool [#3098](https://github.com/OpenAtomFoundation/pikiwidb/pull/3098)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed ZRemrangebylex and zremrangebyscore argument errors [#3098](https://github.com/OpenAtomFoundation/pikiwidb/pull/3098)@[chenbt-hz](https://github.com/chenbt-hz) + +- Fixed RedisCache read interfaces without locks, which could cause data race during rehash [#3088](https://github.com/OpenAtomFoundation/pikiwidb/pull/3088)@[wangshao1](https://github.com/wangshao1) + +- Fixed incorrect blob-cache argument [#3105](https://github.com/OpenAtomFoundation/pikiwidb/pull/3105)@[chenbt-hz](https://github.com/chenbt-hz) + +- Fixed occasional core dump when connecting to Pika via telnet [#3099](https://github.com/OpenAtomFoundation/pikiwidb/pull/3099)@[Mixficsol](https://github.com/Mixficsol) + +- Fixed occasional crashes when executing getrange and setrange multiple times [#3106](https://github.com/OpenAtomFoundation/pikiwidb/pull/3106)@[YuCai18](https://github.com/YuCai18) + +- Fixed issue of accumulating close_wait state connections after closing connections in Pika when processing long-duration requests, preventing new connections from being accepted once the connection limit is reached [#3089](https://github.com/OpenAtomFoundation/pikiwidb/pull/3089)@[wangshao1](https://github.com/wangshao1) + +- Fixed Zadd command returning inconsistent values when adding the same member multiple times in a single line [#3108](https://github.com/OpenAtomFoundation/pikiwidb/pull/3108)@[YuCai18](https://github.com/YuCai18) + +- Fixed error in codis-proxy logging [#3107](https://github.com/OpenAtomFoundation/pikiwidb/pull/3107)@[wangshao1](https://github.com/wangshao1) + +- Fixed issue where requirepass was non-empty but connections could still be made with any password [#3113](https://github.com/OpenAtomFoundation/pikiwidb/pull/3107)@[YuCai18](https://github.com/YuCai18) + +- Removed irrelevant log printing to save disk resources [#3119](https://github.com/OpenAtomFoundation/pikiwidb/pull/3119)@[YuCai18](https://github.com/YuCai18) + +- Fixed PHP client issue where spop command without the second parameter returned inconsistent values with Redis [#3129](https://github.com/OpenAtomFoundation/pikiwidb/pull/3129)@[wangshao1](https://github.com/wangshao1) + +- Optimized Pika slow request logs, added statistics for queuing delays caused by too many pipeline requests [#3142](https://github.com/OpenAtomFoundation/pikiwidb/pull/3142)@[wangshao1](https://github.com/wangshao1) + +- Removed OBD-compact configuration to avoid affecting the 3.5 branch self-compiling versions [#3125](https://github.com/OpenAtomFoundation/pikiwidb/pull/3125)@[chejinge](https://github.com/chejinge) + + # V4.0.2 ## New features diff --git a/CHANGELOG_CN.MD b/CHANGELOG_CN.MD index 5940a2fd26..5459acf0f2 100644 --- a/CHANGELOG_CN.MD +++ b/CHANGELOG_CN.MD @@ -1,3 +1,71 @@ +# V3.5.6 + +## Improvement + +- 统计命令处理不同阶段的耗时,包括 Redis 缓存的读取/更新、写入 binlog、存储处理时间[#3036](https://github.com/OpenAtomFoundation/pikiwidb/pull/3036)@[wangshao1](https://github.com/wangshao1) + +- 精简定位日志,增加耗时统计,修改监控信息暴露[#3044](https://github.com/OpenAtomFoundation/pikiwidb/pull/3044)@[wangshao1](https://github.com/wangshao1) + +- 将 Auth 命令加入管理命令线程池,避免因为主线程池卡住导致建立连接不成功的问题[#3048](https://github.com/OpenAtomFoundation/pikiwidb/pull/3048)@[Mixficsol](https://github.com/Mixficsol) + +- 当 client 关闭 close 链接之后,服务端在处理请求时跳过执行这条连接上收到的请求,避免出现请求堵塞问题[#3111](https://github.com/OpenAtomFoundation/pikiwidb/pull/3111)@[wangshao1](https://github.com/wangshao1) + +## Bugfix + +- 将 clearcache 改为读命令[#3034](https://github.com/OpenAtomFoundation/pikiwidb/pull/3034)@[Mixficsol](https://github.com/Mixficsol) + +- 修复部分接口因为数据不一致导致的问题[#3034](https://github.com/OpenAtomFoundation/pikiwidb/pull/3034)@[Mixficsol](https://github.com/Mixficsol) + +- 修改配置文件中对 redis-cache 限制阈值错误的问题[#3034](https://github.com/OpenAtomFoundation/pikiwidb/pull/3034)@[Mixficsol](https://github.com/Mixficsol) + +- 修复 Rediscache 异步加载的问题[#3037](https://github.com/OpenAtomFoundation/pikiwidb/pull/3037)@[Mixficsol](https://github.com/Mixficsol) + +- 修复 Pika-slave 节点恢复后,codis-dashboard 没有更新元信息的问题[#3038](https://github.com/OpenAtomFoundation/pikiwidb/pull/3038)@[wangshao1](https://github.com/wangshao1) + +- 修复 info replication master ip:port 解析失败的问题[#3038](https://github.com/OpenAtomFoundation/pikiwidb/pull/3038)@[wangshao1](https://github.com/wangshao1) + +- 修复 Append 命令在缓存和数据库中表现不一致的问题[#3039](https://github.com/OpenAtomFoundation/pikiwidb/pull/3039)@[Mixficsol](https://github.com/Mixficsol) + +- String 类型的 Key 可以在配置文件中的 max-key-size-in-cache 参数配置 RedisCache 中最大的 Key 的大小[#3043](https://github.com/OpenAtomFoundation/pikiwidb/pull/3043)@[Mixficsol](https://github.com/Mixficsol) + +- Set, List, Zset 类型可以在配置文件中的 cache-value-item-max-size 参数配置 RedisCache 中最大元素个数[#3043](https://github.com/OpenAtomFoundation/pikiwidb/pull/3043)@[Mixficsol](https://github.com/Mixficsol) + +- 修复 codis 主从切换不正确的问题[#3048](https://github.com/OpenAtomFoundation/pikiwidb/pull/3048)@[Mixficsol](https://github.com/Mixficsol) + +- 更新 Codis、Pika 和 Pika_exporter,修正版本时间记录方式,Pika 的构建时间改为使用 Make 编译时间并调整为 UTC 时间标准[#3049](https://github.com/OpenAtomFoundation/pikiwidb/pull/3049)@[Mixficsol](https://github.com/Mixficsol) + +- 修复 rediscache 最大存储范围不准确的问题[#3064](https://github.com/OpenAtomFoundation/pikiwidb/pull/3064)@[Mixficsol](https://github.com/Mixficsol) + +- 在配置文件中添加了正确加载 admin-cmd-list 的功能[#3076](https://github.com/OpenAtomFoundation/pikiwidb/pull/3076)@[Mixficsol](https://github.com/Mixficsol) + +- 在 pipeline模式下将 auth 命令和后续在 Pipeline 中的命令划分到命令线程池[#3098](https://github.com/OpenAtomFoundation/pikiwidb/pull/3098)@[Mixficsol](https://github.com/Mixficsol) + +- 修复 ZRemrangebylex和zremrangebyscore等命令传参错误的问题[#3098](https://github.com/OpenAtomFoundation/pikiwidb/pull/3098)@[chenbt-hz](https://github.com/chenbt-hz) + +- 修复 rediscache部分读接口没有加锁,当rediscache在做 rehash 时会做数据挪动,可能导致数据竞争的问题[#3088](https://github.com/OpenAtomFoundation/pikiwidb/pull/3088)@[wangshao1](https://github.com/wangshao1) + +- 修复 blob-cache 传参不正确的问题[#3105](https://github.com/OpenAtomFoundation/pikiwidb/pull/3105)@[chenbt-hz](https://github.com/chenbt-hz) + +- 修复 telnet 连接 pika 后偶发性coredump 的问题[#3099](https://github.com/OpenAtomFoundation/pikiwidb/pull/3099)@[Mixficsol](https://github.com/Mixficsol) + +- 修复 getrange 和 setrange 多次执行偶发性导致 pika 崩溃的问题[#3106](https://github.com/OpenAtomFoundation/pikiwidb/pull/3106)@[YuCai18](https://github.com/YuCai18) + +- 修复 Pika 在处理长时间耗时请求时,因超时关闭连接导致积累大量 close_wait 状态连接的问题,防止达到连接数上限后停止接收新连接[#3089](https://github.com/OpenAtomFoundation/pikiwidb/pull/3089)@[wangshao1](https://github.com/wangshao1) + +- 修复 pika 中 zadd 命令在单行多次添加同一 member 时与 Redis 返回值不一致的问题[#3108](https://github.com/OpenAtomFoundation/pikiwidb/pull/3108)@[YuCai18](https://github.com/YuCai18) + +- 修复 codis-proxy 打印 log 错误的问题[#3107](https://github.com/OpenAtomFoundation/pikiwidb/pull/3107)@[wangshao1](https://github.com/wangshao1) + +- 修复 requirepass 是非空的但可通过任意密码连接的问题[#3113](https://github.com/OpenAtomFoundation/pikiwidb/pull/3107)@[YuCai18](https://github.com/YuCai18) + +- 删除无关的日志打印,避免占用磁盘资源[#3119](https://github.com/OpenAtomFoundation/pikiwidb/pull/3119)@[YuCai18](https://github.com/YuCai18) + +- 修复 php 客户端不指定 spop 第二个参数时与 redis 返回值不一致的问题[#3129](https://github.com/OpenAtomFoundation/pikiwidb/pull/3129)@[wangshao1](https://github.com/wangshao1) + +- 优化了 Pika 的慢请求日志,增加了对 pipeline 请求过多导致的排队耗时统计[#3142](https://github.com/OpenAtomFoundation/pikiwidb/pull/3142)@[wangshao1](https://github.com/wangshao1) + +- 去掉 OBD-compact 配置,避免影响3.5分支自行编译的版本[#3125](https://github.com/OpenAtomFoundation/pikiwidb/pull/3125)@[chejinge](https://github.com/chejinge) + # V4.0.2 ## New features