Skip to content

Commit 5ff9d46

Browse files
committed
code review from oran
1 parent 5b5fea3 commit 5ff9d46

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

commands/info.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,9 @@ For each error type, the following line is added:
428428

429429
* `errorstat_XXX`: `count=XXX`
430430

431+
If the server detects that this section got flooded with too many errors, it'll get disabled, show a single `ERRORSTATS_DISABLED` error, and print the errors to the server log.
432+
This can be reset by `CONFIG RESETSTAT`.
433+
431434
The **sentinel** section is only available in Redis Sentinel instances. It consists of the following fields:
432435

433436
* `sentinel_masters`: Number of Redis masters monitored by this Sentinel instance
@@ -464,7 +467,3 @@ It won't be included when `INFO` or `INFO ALL` are called, and it is returned on
464467
**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.
465468

466469
**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`.
467-
468-
**Errorstats generated sections**: Starting with Redis 8, errorstats will be disabled when error code abuse is detected on the server side.
469-
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`.
470-
It can be re-enabled using via `CONFIG RESETSTAT`.

0 commit comments

Comments
 (0)