Skip to content

Commit

Permalink
Add the new ERRORSTATS_DISABLED error code note about ERRORSTATS abused
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-binbin committed Mar 19, 2024
1 parent 7dbeb33 commit 5b5fea3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion commands/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,4 +463,8 @@ It won't be included when `INFO` or `INFO ALL` are called, and it is returned on

**A note about the word slave used in this man page**: Starting with Redis 5, if not for backward compatibility, the Redis project no longer uses the word slave. Unfortunately in this command the word slave is part of the protocol, so we'll be able to remove such occurrences only when this API will be naturally deprecated.

**Modules generated sections**: Starting with Redis 6, modules can inject their info into the `INFO` command, these are excluded by default even when the `all` argument is provided (it will include a list of loaded modules but not their generated info fields). To get these you must use either the `modules` argument or `everything`.,
**Modules generated sections**: Starting with Redis 6, modules can inject their info into the `INFO` command, these are excluded by default even when the `all` argument is provided (it will include a list of loaded modules but not their generated info fields). To get these you must use either the `modules` argument or `everything`.

**Errorstats generated sections**: Starting with Redis 8, errorstats will be disabled when error code abuse is detected on the server side.
The server will print the warning log and the current errors code list, clear the errors code, and then replace it with a single `ERRORSTATS_DISABLED` error code to indicate that it is disabled in `INFO`.
It can be re-enabled using via `CONFIG RESETSTAT`.

0 comments on commit 5b5fea3

Please sign in to comment.