Commit dad0e916 authored by antirez's avatar antirez
Browse files

Client side caching: filter clients no longer there.

parent c7aaf8db
...@@ -133,6 +133,7 @@ void trackingInvalidateKey(robj *keyobj) { ...@@ -133,6 +133,7 @@ void trackingInvalidateKey(robj *keyobj) {
uint64_t id; uint64_t id;
memcpy(&id,ri.key,ri.key_len); memcpy(&id,ri.key,ri.key_len);
client *c = lookupClientByID(id); client *c = lookupClientByID(id);
if (c == NULL) continue;
int using_redirection = 0; int using_redirection = 0;
if (c->client_tracking_redirection) { if (c->client_tracking_redirection) {
client *redir = lookupClientByID(c->client_tracking_redirection); client *redir = lookupClientByID(c->client_tracking_redirection);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment