From de495ee7abc2d21b1d55e706c71bbe027408ef61 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Wed, 27 Jun 2018 15:32:18 +0300 Subject: minor fix in creating a stream NACK for rdb and defrag tests --- tests/integration/rdb.tcl | 2 +- tests/unit/memefficiency.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index f51a3c13d..58a098edc 100644 --- a/tests/integration/rdb.tcl +++ b/tests/integration/rdb.tcl @@ -48,7 +48,7 @@ start_server [list overrides [list "dir" $server_path]] { r xadd stream * bar $j } } - r xgroup create stream mygroup $ + r xgroup create stream mygroup 0 r xreadgroup GROUP mygroup Alice COUNT 1 STREAMS stream > set digest [r debug digest] r debug reload diff --git a/tests/unit/memefficiency.tcl b/tests/unit/memefficiency.tcl index ed37a68ed..c8e95de13 100644 --- a/tests/unit/memefficiency.tcl +++ b/tests/unit/memefficiency.tcl @@ -104,7 +104,7 @@ start_server {tags {"defrag"}} { r sadd set a b c d r xadd stream * item 1 value a r xadd stream * item 2 value b - r xgroup create stream mygroup $ + r xgroup create stream mygroup 0 r xreadgroup GROUP mygroup Alice COUNT 1 STREAMS stream > # create big keys with 10k items -- cgit v1.2.1 From 6d0acb330a00a5c373ab17c36c5a20ae3b72e063 Mon Sep 17 00:00:00 2001 From: Mustafa Paltun Date: Wed, 27 Jun 2018 16:33:31 +0300 Subject: Update help.h --- src/help.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/help.h b/src/help.h index 005afd941..c89f1f44b 100644 --- a/src/help.h +++ b/src/help.h @@ -975,7 +975,7 @@ struct commandHelp { "5.0.0" }, { "XPENDING", "key group [start end count] [consumer]", - "Return information and entries from a stream conusmer group pending entries list, that are messages fetched but never acknowledged.", + "Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.", 14, "5.0.0" }, { "XRANGE", -- cgit v1.2.1 From 010dc172d40fe5785b380c4a6ebea9d11fa39532 Mon Sep 17 00:00:00 2001 From: Mustafa Paltun Date: Wed, 27 Jun 2018 16:35:30 +0300 Subject: Update t_stream.c --- src/t_stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/t_stream.c b/src/t_stream.c index 6d8fd92ce..16913f37e 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -945,7 +945,7 @@ size_t streamReplyWithRange(client *c, stream *s, streamID *start, streamID *end /* This is an helper function for streamReplyWithRange() when called with * group and consumer arguments, but with a range that is referring to already * delivered messages. In this case we just emit messages that are already - * in the history of the conusmer, fetching the IDs from its PEL. + * in the history of the consumer, fetching the IDs from its PEL. * * Note that this function does not have a 'rev' argument because it's not * possible to iterate in reverse using a group. Basically this function @@ -1571,7 +1571,7 @@ void xgroupCommand(client *c) { "CREATE -- Create a new consumer group.", "SETID -- Set the current group ID.", "DESTROY -- Remove the specified group.", -"DELCONSUMER -- Remove the specified conusmer.", +"DELCONSUMER -- Remove the specified consumer.", "HELP -- Prints this help.", NULL }; -- cgit v1.2.1