antirez
d5515331e2
Tracking: fix enableBcastTrackingForPrefix() invalid sdslen() call.
...
Related to #7387 .
(cherry picked from commit ae770c30349cb4c72393f3b70318371081f3cc65)
2020-07-20 21:08:26 +03:00
zhaozhao.zz
830c674845
Tracking: flag CLIENT_TRACKING_BROKEN_REDIR when redir broken
2020-05-22 12:37:49 +02:00
antirez
0b21426a45
Tracking: send eviction messages when evicting entries.
...
A fix for #7249 .
2020-05-14 11:29:43 +02:00
hwware
d45fd94b8a
Client Side Caching: Add Tracking Prefix Number Stats in Server Info
2020-05-08 10:37:35 +02:00
antirez
249d933215
Tracking: NOLOOP further implementation and fixes.
2020-04-24 10:14:48 +02:00
antirez
f066273907
Tracking: NOLOOP internals implementation.
2020-04-24 10:14:48 +02:00
hwware
4a0249c0c8
remove redundant Semicolon
2020-03-25 15:55:24 +01:00
hwware
9c9ef6fb9b
clean CLIENT_TRACKING_CACHING flag when disabled caching
2020-03-25 15:55:24 +01:00
antirez
75a7615ce2
Tracking: optin/out implemented.
2020-02-27 18:02:30 +01:00
Madelyn Olson
188f478f43
Minor CSC fixes and fixed documentation
2020-02-27 18:00:47 +01:00
Itamar Haber
3c2b67dc2a
Fixes segfault on calling trackingGetTotalKeys
...
... with CSC disabled
2020-02-27 18:00:46 +01:00
antirez
2fdce45e9d
Tracking: fix behavior when switchinig from normal to BCAST.
2020-02-27 17:59:57 +01:00
antirez
d5517def76
Tracking: fix sending messages bug + tracking off bug.
2020-02-27 17:59:57 +01:00
antirez
7841d0234f
Tracking: BCAST: basic feature now works.
2020-02-27 17:59:57 +01:00
antirez
261fabeaa4
Tracking: BCAST: broadcasting of keys in prefixes implemented.
2020-02-27 17:59:57 +01:00
antirez
abdaebc6c4
Tracking: BCAST: registration in the prefix table.
2020-02-27 17:59:57 +01:00
antirez
ed36f3c76f
Tracking: BCAST: parsing of the options + skeleton.
2020-02-27 17:59:57 +01:00
antirez
a34422aee7
Tracking: always reply with an array of keys.
2020-02-27 17:59:57 +01:00
antirez
ddc4965ac5
Tracking: minor change of names and new INFO field.
2020-02-27 17:59:57 +01:00
antirez
fce22c6a42
Tracking: first conversion from hashing to key names.
2020-02-27 17:59:57 +01:00
Eran Liberty
82fbd66d7e
- 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
1d54931685
Client side caching: show tracking slots usage in INFO.
2019-07-23 11:02:14 +02:00
antirez
79a73bb95a
Client side caching: implement full slot limit function.
2019-07-23 10:57:22 +02:00
zhaozhao.zz
408ca31d16
Client side caching: do not reclaim tracking table if it's empty
2019-07-23 15:25:00 +08:00
antirez
f2f3d91e78
Client side caching: split invalidation into key / slot.
2019-07-22 18:59:53 +02:00
antirez
06de8790dc
Client side caching: reclaim the tracking table on FLUSHALL.
2019-07-22 12:33:49 +02:00
antirez
ab49072362
Client side caching: don't hash the key if not needed.
2019-07-22 12:10:51 +02:00
antirez
bcf3cf8832
Clinet side caching: take count of used caching slots.
2019-07-22 11:47:44 +02:00
zhaozhao.zz
996dcae44f
Client side caching: filter clients untracking
2019-07-18 16:46:19 +08:00
zhaozhao.zz
8d5e3b7893
Client side caching: implement trackingInvalidateKeysOnFlush()
2019-07-17 20:33:52 +08:00
antirez
effe7022e6
Client side caching: filter clients no longer there.
2019-07-10 19:46:46 +02:00
antirez
f3a8b5001d
Client side caching: RESP2 support.
2019-07-05 12:24:28 +02:00
antirez
6aeb2627de
Client side caching: fix invalidate message len and content.
2019-07-04 14:07:23 +02:00
antirez
4b5027845e
Client side caching: implement trackingInvalidateKey().
2019-07-03 19:16:20 +02:00