CLIENT TRACKINGINFO
Since 1.1.0Server
Syntax
CLIENT TRACKINGINFOReturns this connection's client-side caching state, as set with CLIENT TRACKING. Client libraries use it to check that tracking is set up as they asked.
The reply is three name-value pairs:
flags:off, oronwith any ofbcast,optin,optout,noloop, andcaching-yesorcaching-nowhile anCLIENT CACHINGchoice is pending for the next command.redirect:-1when tracking is off,0when invalidations come to this connection, or the ID of the connection they go to.prefixes: the prefixes given in broadcast mode.
Examples
> CLIENT TRACKINGINFO
1) "flags"
2) 1) "off"
3) "redirect"
4) (integer) -1
5) "prefixes"
6) (empty array)
> CLIENT TRACKING ON BCAST PREFIX user: NOLOOP
OK
> CLIENT TRACKINGINFO
1) "flags"
2) 1) "on"
2) "bcast"
3) "noloop"
3) "redirect"
4) (integer) 0
5) "prefixes"
6) 1) "user:"