Skip to content

Commit

Permalink
Update version references from 8.0 to 7.4 for upcoming release (redis…
Browse files Browse the repository at this point in the history
  • Loading branch information
sundb authored May 27, 2024
1 parent 6801a3c commit 2d1bb42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/commands.def
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ commandHistory CLIENT_KILL_History[] = {
{"3.2.0","Added `master` type in for `TYPE` option."},
{"5.0.0","Replaced `slave` `TYPE` with `replica`. `slave` still supported for backward compatibility."},
{"6.2.0","`LADDR` option."},
{"8.0.0","`MAXAGE` option."},
{"7.4.0","`MAXAGE` option."},
};
#endif

Expand Down Expand Up @@ -1214,7 +1214,7 @@ struct COMMAND_ARG CLIENT_KILL_filter_new_format_Subargs[] = {
{MAKE_ARG("addr",ARG_TYPE_STRING,-1,"ADDR",NULL,NULL,CMD_ARG_OPTIONAL,0,NULL),.display_text="ip:port"},
{MAKE_ARG("laddr",ARG_TYPE_STRING,-1,"LADDR",NULL,"6.2.0",CMD_ARG_OPTIONAL,0,NULL),.display_text="ip:port"},
{MAKE_ARG("skipme",ARG_TYPE_ONEOF,-1,"SKIPME",NULL,NULL,CMD_ARG_OPTIONAL,2,NULL),.subargs=CLIENT_KILL_filter_new_format_skipme_Subargs},
{MAKE_ARG("maxage",ARG_TYPE_INTEGER,-1,"MAXAGE",NULL,"8.0.0",CMD_ARG_OPTIONAL,0,NULL)},
{MAKE_ARG("maxage",ARG_TYPE_INTEGER,-1,"MAXAGE",NULL,"7.4.0",CMD_ARG_OPTIONAL,0,NULL)},
};

/* CLIENT KILL filter argument table */
Expand Down
4 changes: 2 additions & 2 deletions src/commands/client-kill.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"`LADDR` option."
],
[
"8.0.0",
"7.4.0",
"`MAXAGE` option."
]
],
Expand Down Expand Up @@ -146,7 +146,7 @@
"name": "maxage",
"type": "integer",
"optional": true,
"since": "8.0.0"
"since": "7.4.0"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ struct redisMemOverhead *getMemoryOverheadData(void) {
(float)server.cron_malloc_stats.process_rss / server.cron_malloc_stats.zmalloc_used;
mh->total_frag_bytes =
server.cron_malloc_stats.process_rss - server.cron_malloc_stats.zmalloc_used;
/* Starting with redis 8.0, the lua memory is part of the total memory usage
/* Starting with redis 7.4, the lua memory is part of the total memory usage
* of redis, and that includes RSS and all other memory metrics. We only want
* to deduct it from active defrag. */
size_t frag_smallbins_bytes =
Expand Down

0 comments on commit 2d1bb42

Please sign in to comment.