🚀 New Features:
- feat:After the Pika slave instance executes slaveof no one to remove the replication relationship with the master node, the slaveof information is persisted into the configuration file. #2973
- feat:Added support for backup and recovery in master-slave mode for Pika-Operator. #2968
- feat:Added the
log-net-activities
parameter in the configuration file to dynamically enable or disable the logging of certain connection-related activities. This can be adjusted withconfig get/set
. #2964 - feat: Added the
repl_connect_status
metric to Pika info and integrated it intopika_exporter
to facilitate monitoring of the replication status. #2961 - feat: Upgraded
kubeblocks
to version 0.9, improving and optimizing Pika-Operator to simplify code and support instance scale-down. #2860 - feat: Pika-Operator now supports starting in master-slave mode. See the README document for more details. [#2903]
- feat: Added
keyspace_hits
andkeyspace_misses
metrics topika_exporter
, enabling users to monitor key hit rates. #2579 - feat: RedisCache now avoids storing large keys to prevent excessive memory usage or the eviction of frequently accessed hot keys, which could impact performance. #2557
🐛 Fixes:
- fix:Fixed the
rpoplpush
command cache update issue, which caused inconsistency between the database and cache. #2976 - fix:Fixed compatibility issues between different versions of Pika-Exporter, which caused excessive logging and wasted disk resources. #2971
- fix: Adjusted the log level of
slowlog
to INFO to address the issue of triple logging, which consumed excessive disk space. #2948 - fix: Improved CI stability by resolving specific failure issues. #2937
- fix: Fixed an issue where Pika instances could not set administrator passwords independently. #2920
- fix: Resolved a reference counter destructor issue in the epoll loop for
std::shared_ptr in_conn
objects, ensuring Pika connections are closed in a timely manner. #2904 - fix: Fixed a cache inconsistency issue caused by the
zpopmin
command during deletion operations. #2892
🧹 Improvement:
- feat: Pika now supports dynamically modifying the
max-subcompactions
parameter to optimize thecompact
operation for L0 layers at runtime. #2965 - feat: Improved the
log-retention-time
parameter to dynamically adjust the number of days for log retention. #2963 - feat: Moved the
Pika-Migrate
code to thetools
folder to simplify binary compilation in different environments for data migration. #2941 - feat: aAdded Go tests for Pika complex data types and management commands to ensure service stability. #2840
- feat:Updated the
actions/checkout
in GitHub Actions workflow to v5 for enhanced security and performance. #2833 - feat:Added a new compact strategy in Pika to optimize write performance by prioritizing files unused for the longest time or files with the most deleted entries. #2557
📒 Documentation: PikiwiDB
Full Changelog: v4.0.1...v4.0.2-alpha
Thanks to @007gzs, @baerwang , @cheniujh , @buzhimingyonghu , @chejinge , @Mixficsol , @QlQlqiqi , @chenbt-hz , @XiaoLiang2333 and @tsinow for making this release possible.