client-trackinginfo.3valkey - Man Page
Returns information about server-assisted client-side caching for the connection.
Synopsis
CLIENT TRACKINGINFO
Description
The command returns information about the current client connection’s use of the valkey-client-side-caching(7) server assisted client side caching feature.
Here’s the list of tracking information sections and their respective values:
flags: A list of tracking flags used by the connection. The flags and their meanings are as follows:
off
: The connection isn’t using server assisted client side caching.on
: Server assisted client side caching is enabled for the connection.bcast
: The client uses broadcasting mode.optin
: The client does not cache keys by default.optout
: The client caches keys by default.caching-yes
: The next command will cache keys (exists only together withoptin
).caching-no
: The next command won’t cache keys (exists only together withoptout
).noloop
: The client isn’t notified about keys modified by itself.broken_redirect
: The client ID used for redirection isn’t valid anymore.
- redirect: The client ID used for notifications redirection, or -1 when none.
- prefixes: A list of key prefixes for which notifications are sent to the client.
Reply
Resp2
valkey-protocol(7) Array reply: a list of tracking information sections and their respective values.
Resp3
valkey-protocol(7) Map reply: a list of tracking information sections and their respective values.
Complexity
O(1)
Acl Categories
@connection @slow
History
- Available since: 6.2.0
See Also
auth(3valkey), client(3valkey), client-caching(3valkey), client-capa(3valkey), client-getname(3valkey), client-getredir(3valkey), client-help(3valkey), client-id(3valkey), client-info(3valkey), client-kill(3valkey), client-list(3valkey), client-no-evict(3valkey), client-no-touch(3valkey), client-pause(3valkey), client-reply(3valkey), client-setinfo(3valkey), client-setname(3valkey), client-tracking(3valkey), client-unblock(3valkey), client-unpause(3valkey), echo(3valkey), hello(3valkey), ping(3valkey), reset(3valkey), select(3valkey)