Skip to content

Commit

Permalink
add 7.2 history details to xinfo json files (redis#11949)
Browse files Browse the repository at this point in the history
  • Loading branch information
oranagra authored Mar 22, 2023
1 parent 5a76e81 commit ef50118
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -6507,7 +6507,10 @@ struct redisCommand XGROUP_Subcommands[] = {
/********** XINFO CONSUMERS ********************/

/* XINFO CONSUMERS history */
#define XINFO_CONSUMERS_History NULL
commandHistory XINFO_CONSUMERS_History[] = {
{"7.2.0","Added the `inactive` field."},
{0}
};

/* XINFO CONSUMERS tips */
const char *XINFO_CONSUMERS_tips[] = {
Expand Down Expand Up @@ -6553,6 +6556,7 @@ struct redisCommandArg XINFO_GROUPS_Args[] = {
commandHistory XINFO_STREAM_History[] = {
{"6.0.0","Added the `FULL` modifier."},
{"7.0.0","Added the `max-deleted-entry-id`, `entries-added`, `recorded-first-entry-id`, `entries-read` and `lag` fields"},
{"7.2.0","Added the `active-time` field, and changed the meaning of `seen-time`."},
{0}
};

Expand Down
6 changes: 6 additions & 0 deletions src/commands/xinfo-consumers.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
"arity": 4,
"container": "XINFO",
"function": "xinfoCommand",
"history": [
[
"7.2.0",
"Added the `inactive` field."
]
],
"command_flags": [
"READONLY"
],
Expand Down
4 changes: 4 additions & 0 deletions src/commands/xinfo-stream.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
[
"7.0.0",
"Added the `max-deleted-entry-id`, `entries-added`, `recorded-first-entry-id`, `entries-read` and `lag` fields"
],
[
"7.2.0",
"Added the `active-time` field, and changed the meaning of `seen-time`."
]
],
"function": "xinfoCommand",
Expand Down

0 comments on commit ef50118

Please sign in to comment.