hwware
c7524a7e44
clean CLIENT_TRACKING_CACHING flag when disabled caching
2020-03-25 15:55:24 +01:00
antirez
b439542604
Tracking: optin/out implemented.
2020-02-27 18:02:30 +01:00
Madelyn Olson
762fbcb687
Minor CSC fixes and fixed documentation
2020-02-27 18:00:47 +01:00
Itamar Haber
e374573f30
Fixes segfault on calling trackingGetTotalKeys
...
... with CSC disabled
2020-02-27 18:00:46 +01:00
antirez
fe96e29d5f
Tracking: fix behavior when switchinig from normal to BCAST.
2020-02-27 17:59:57 +01:00
antirez
f21be1ec55
Tracking: fix sending messages bug + tracking off bug.
2020-02-27 17:59:57 +01:00
antirez
6fb1aa2381
Tracking: BCAST: basic feature now works.
2020-02-27 17:59:57 +01:00
antirez
d4fe79a174
Tracking: BCAST: broadcasting of keys in prefixes implemented.
2020-02-27 17:59:57 +01:00
antirez
abb81c6351
Tracking: BCAST: registration in the prefix table.
2020-02-27 17:59:57 +01:00
antirez
77da960815
Tracking: BCAST: parsing of the options + skeleton.
2020-02-27 17:59:57 +01:00
antirez
3e8c69a9de
Tracking: always reply with an array of keys.
2020-02-27 17:59:57 +01:00
antirez
a788c373e6
Tracking: minor change of names and new INFO field.
2020-02-27 17:59:57 +01:00
antirez
3c16d6b32d
Tracking: first conversion from hashing to key names.
2020-02-27 17:59:57 +01:00
Eran Liberty
08c3fe8063
- memcpy(&id,ri.key,ri.key_len);
...
+ memcpy(&id,ri.key,sizeof(id));
The memcpy from the key to the id reliease on the fact that this key
*should* be 8 bytes long as it was entered as such a few lines up the
code.
BUT if someone will change the code to the point this is no longer true,
current code can trash the stack which makes debugging very hard
while this fix will result in some garbage id, or even page fault.
Both are preferable to stack mangaling.
2019-12-05 13:37:11 +00:00
antirez
c98e7717bb
Client side caching: show tracking slots usage in INFO.
2019-07-23 11:02:14 +02:00
antirez
9268493e8d
Client side caching: implement full slot limit function.
2019-07-23 10:57:22 +02:00
zhaozhao.zz
9012e587ca
Client side caching: do not reclaim tracking table if it's empty
2019-07-23 15:25:00 +08:00
antirez
c41f94d2a3
Client side caching: split invalidation into key / slot.
2019-07-22 18:59:53 +02:00
antirez
7d3992a80a
Client side caching: reclaim the tracking table on FLUSHALL.
2019-07-22 12:33:49 +02:00
antirez
f850201c64
Client side caching: don't hash the key if not needed.
2019-07-22 12:10:51 +02:00
antirez
e00442eb13
Clinet side caching: take count of used caching slots.
2019-07-22 11:47:44 +02:00
zhaozhao.zz
f59119aad6
Client side caching: filter clients untracking
2019-07-18 16:46:19 +08:00
zhaozhao.zz
6191ea90a1
Client side caching: implement trackingInvalidateKeysOnFlush()
2019-07-17 20:33:52 +08:00
antirez
dad0e916ff
Client side caching: filter clients no longer there.
2019-07-10 19:46:46 +02:00
antirez
6b29f2d83d
Client side caching: RESP2 support.
2019-07-05 12:24:28 +02:00
antirez
3e43aed1ac
Client side caching: fix invalidate message len and content.
2019-07-04 14:07:23 +02:00
antirez
46edb55de9
Client side caching: implement trackingInvalidateKey().
2019-07-03 19:16:20 +02:00