Skip to content

Commit 4f3ff46

Browse files
committed
Tracking: flag CLIENT_TRACKING_BROKEN_REDIR when redir broken
1 parent af34245 commit 4f3ff46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tracking.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ void sendTrackingMessage(client *c, char *keyname, size_t keylen, int proto) {
206206
if (c->client_tracking_redirection) {
207207
client *redir = lookupClientByID(c->client_tracking_redirection);
208208
if (!redir) {
209+
c->flags |= CLIENT_TRACKING_BROKEN_REDIR;
209210
/* We need to signal to the original connection that we
210211
* are unable to send invalidation messages to the redirected
211212
* connection, because the client no longer exist. */

0 commit comments

Comments
 (0)