Compare commits

..

1 Commits

Author SHA1 Message Date
fortrue
29b48b976d add FreeEdition branch 2023-12-11 19:34:57 +08:00
3 changed files with 32 additions and 3 deletions

31
doc/ReleaseNotes.md Normal file
View File

@ -0,0 +1,31 @@
# 7.0.1
+ Add new config IgnoreArgNumCheck, use to ignore argument number check in Predixy
+ Improve the performance for relaod license
+ Fix the rewrite error response
# 7.0.0
+ Support new command for Redis 6.x and 7.x, list below:
+ Function: all Function serial commands
+ Script: eval_ro; improve script implement
+ Set: sintercard smismember
+ Zset: bzmpop zdiff zdiffstore zinter zintercard zmpop zmscore zrandmember
zrangestore zunion
+ List: lmove lmpop lpos
+ Geo: georadius_ro georadiusbymember_ro geosearch geosearchstore
+ Other: reset expiretime pexiretime sort_ro bitfield_ro getdel getex
lcs substr hrandfield
+ PubSub: supports Shard PubSub; refactor all PubSub codes for Predixy, now
Predixy can support Redis PubSub fully.
# 5.2.0
+ Supports domain in config for discover redis nodes
+ Auto remove the redis node if it's not stay in the Redis Cluster
+ Improve the deploy for exporter
+ Require license to running
+ Improve the compatibility for client within Redis Cluster
+ Disable some redis commands in config
+ PINFO reply the arch information
+ WorkerThreads: the config field can auto detect the CPU cores

View File

@ -103,7 +103,6 @@ Request::~Request()
void Request::clear() void Request::clear()
{ {
mConn = nullptr;
mRes = nullptr; mRes = nullptr;
mHead.clear(); mHead.clear();
mReq.clear(); mReq.clear();
@ -294,7 +293,6 @@ void Request::follow(Request* leader)
if (leader == this) { if (leader == this) {
return; return;
} }
mConn = leader->mConn;
mType = leader->mType; mType = leader->mType;
mHead = leader->mHead; mHead = leader->mHead;
mReq = leader->mReq; mReq = leader->mReq;

View File

@ -71,7 +71,7 @@ public:
bool isDone() const; bool isDone() const;
AcceptConnection* connection() const AcceptConnection* connection() const
{ {
return mConn; return mLeader ? mLeader->mConn : mConn;
} }
void detach() void detach()
{ {