From d71fd6264d58795c50b9350d7c39677b671e0896 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 17 Jul 2021 09:34:48 +0200 Subject: Merging upstream version 1.9.4. Signed-off-by: Daniel Baumann --- iredis/data/commands/client-trackinginfo.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 iredis/data/commands/client-trackinginfo.md (limited to 'iredis/data/commands/client-trackinginfo.md') diff --git a/iredis/data/commands/client-trackinginfo.md b/iredis/data/commands/client-trackinginfo.md new file mode 100644 index 0000000..55dc577 --- /dev/null +++ b/iredis/data/commands/client-trackinginfo.md @@ -0,0 +1,25 @@ +The command returns information about the current client connection's use of the +[server assisted client side caching](/topics/client-side-caching) feature. + +@return + +@array-reply: a list of tracking information sections and their respective +values, specifically: + +- **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 with + `optin`). + - `caching-no`: The next command won't cache keys (exists only together with + `optout`). + - `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. -- cgit v1.2.3