mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca1630a6b4 | ||
|
|
9b85bd0e38 |
@ -1,31 +0,0 @@
|
|||||||
# 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
|
|
||||||
@ -103,6 +103,7 @@ Request::~Request()
|
|||||||
|
|
||||||
void Request::clear()
|
void Request::clear()
|
||||||
{
|
{
|
||||||
|
mConn = nullptr;
|
||||||
mRes = nullptr;
|
mRes = nullptr;
|
||||||
mHead.clear();
|
mHead.clear();
|
||||||
mReq.clear();
|
mReq.clear();
|
||||||
@ -293,6 +294,7 @@ 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;
|
||||||
|
|||||||
@ -71,7 +71,7 @@ public:
|
|||||||
bool isDone() const;
|
bool isDone() const;
|
||||||
AcceptConnection* connection() const
|
AcceptConnection* connection() const
|
||||||
{
|
{
|
||||||
return mLeader ? mLeader->mConn : mConn;
|
return mConn;
|
||||||
}
|
}
|
||||||
void detach()
|
void detach()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user