redict/src
valentinogeron 795c454db1
Stream: Inconsistency between master and replica some XREADGROUP case (#7526)
XREADGROUP auto-creates the consumer inside the consumer group the
first time it saw it.
When XREADGROUP is being used with NOACK option, the message will not
be added into the client's PEL and XGROUP SETID would be propagated.
When the replica gets the XGROUP SETID it will only update the last delivered
id of the group, but will not create the consumer.

So, in this commit XGROUP CREATECONSUMER is being added.
Command pattern: XGROUP CREATECONSUMER <key> <group> <consumer>.

When NOACK option is being used, createconsumer command would be
propagated as well.

In case of AOFREWRITE, consumer with an empty PEL would be saved with
XGROUP CREATECONSUMER whereas consumer with pending entries would be
saved with XCLAIM
2020-09-24 12:02:40 +03:00
..
modules Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
.gitignore
acl.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
adlist.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
adlist.h Speedup: unblock clients on keys in O(1). 2020-04-08 12:55:57 +02:00
ae_epoll.c diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
ae_evport.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
ae_kqueue.c
ae_select.c
ae.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
ae.h Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
anet.c TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
anet.h TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
aof.c Stream: Inconsistency between master and replica some XREADGROUP case (#7526) 2020-09-24 12:02:40 +03:00
asciilogo.h string literal should be const char* 2020-03-07 19:38:27 +08:00
atomicvar.h Implement redisAtomic to replace _Atomic C11 builtin (#7707) 2020-09-17 16:01:45 +03:00
bio.c Make main thread killable so that it can be canceled at any time. 2020-09-21 12:10:19 +03:00
bio.h macro fix 2019-11-20 20:39:04 -05:00
bitops.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
blocked.c Stream: Inconsistency between master and replica some XREADGROUP case (#7526) 2020-09-24 12:02:40 +03:00
childinfo.c RM_GetContextFlags provides indication that we're in a fork child (#7783) 2020-09-20 13:43:28 +03:00
cluster.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
cluster.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
config.c Incremental eviction processing (#7653) 2020-09-16 09:16:01 +03:00
config.h Further NetBSD update and build fixes. (#7831) 2020-09-23 10:00:31 +03:00
connection.c Fix connGetSocketError usage (#7811) 2020-09-22 12:53:36 +03:00
connection.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
connhelpers.h Conns: Fix connClose() / connAccept() behavior. 2020-03-22 14:42:03 +02:00
crc16_slottable.h Added basic support for clusters to redis-benchmark. 2019-03-01 17:53:14 +01:00
crc16.c
crc64.c Move CRC64 initialization in main(). 2020-05-05 10:20:48 +02:00
crc64.h Implemented CRC64 based on slice by 4 2020-04-24 17:00:03 -07:00
crcspeed.c Added crcspeed library 2020-04-24 17:11:21 -07:00
crcspeed.h Added crcspeed library 2020-04-24 17:11:21 -07:00
db.c Refactor multi-key command get keys proc 2020-09-24 08:59:14 +03:00
debug.c Further NetBSD update and build fixes. (#7831) 2020-09-23 10:00:31 +03:00
debugmacro.h
defrag.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
dict.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
dict.h Better distribution for set get-random-element operations. 2019-02-18 18:27:18 +01:00
endianconv.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
endianconv.h Fix typo 2018-07-03 18:19:46 +02:00
evict.c Implement redisAtomic to replace _Atomic C11 builtin (#7707) 2020-09-17 16:01:45 +03:00
expire.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
fmacros.h Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
geo.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
geo.h
geohash_helper.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
geohash_helper.h
geohash.c FIX: truncate max/min longitude,latitude related geo_point (ex: {180, 85.05112878} ) 2020-04-09 17:48:29 +08:00
geohash.h
gopher.c Gopher: don't add the Lastline. 2019-02-24 21:38:15 +01:00
help.h help.h updated. 2020-06-12 12:16:19 +02:00
hyperloglog.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
intset.c several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
intset.h
latency.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
latency.h Module API for LatencyAddSample 2019-10-24 14:24:55 +03:00
lazyfree.c Implement redisAtomic to replace _Atomic C11 builtin (#7707) 2020-09-17 16:01:45 +03:00
listpack_malloc.h Streams: change listpack allocator to zmalloc. 2017-12-01 10:24:24 +01:00
listpack.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
listpack.h Streams: 12 commits squashed into the initial Streams implementation. 2017-12-01 10:24:24 +01:00
localtime.c update leap year comment when div by 400 2018-09-18 17:04:00 +08:00
lolwut5.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
lolwut6.c LOLWUT 6: always pick a default color sequence. 2019-10-28 11:10:58 +01:00
lolwut.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
lolwut.h add include guard for lolwut.h 2020-05-05 23:35:08 -04:00
lzf_c.c
lzf_d.c Try to avoid issues with GCC pragmas and older compilers. 2018-09-28 13:00:44 +02:00
lzf.h
lzfP.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
Makefile Further NetBSD update and build fixes. (#7831) 2020-09-23 10:00:31 +03:00
memtest.c
mkreleasehdr.sh Update mkreleasehdr.sh 2019-11-19 17:23:47 +08:00
module.c Add GT and LT options to ZADD for conditional score updates (#7818) 2020-09-23 21:56:16 +03:00
monotonic.c Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
monotonic.h Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
multi.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
networking.c Kill disk-based fork child when all replicas drop and 'save' is not enabled (#7819) 2020-09-22 09:47:58 +03:00
notify.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
object.c correct OBJECT ENCODING response for stream type (#7797) 2020-09-15 08:58:21 +03:00
pqsort.c
pqsort.h
pubsub.c Merge branch 'pubsub_patterns_boost' of https://github.com/leeyiw/redis into leeyiw-pubsub_patterns_boost 2020-03-31 12:40:08 +02:00
quicklist.c Fix comments of _quicklistSplitNode function. (#4341) 2020-09-09 15:28:38 +03:00
quicklist.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
rand.c
rand.h
rax_malloc.h
rax.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
rax.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
rdb.c Stream: Inconsistency between master and replica some XREADGROUP case (#7526) 2020-09-24 12:02:40 +03:00
rdb.h Fix redis-check-rdb support for modules aux data (#7826) 2020-09-22 10:18:07 +03:00
redis-benchmark.c Implement redisAtomic to replace _Atomic C11 builtin (#7707) 2020-09-17 16:01:45 +03:00
redis-check-aof.c Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string 2019-05-08 12:13:45 +01:00
redis-check-rdb.c Fix redis-check-rdb support for modules aux data (#7826) 2020-09-22 10:18:07 +03:00
redis-cli.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
redis-trib.rb Redis-trib deprecated: it no longer works and it 2018-07-13 10:51:58 +02:00
redisassert.h Fix typo 2018-07-03 18:19:46 +02:00
redismodule.h Add GT and LT options to ZADD for conditional score updates (#7818) 2020-09-23 21:56:16 +03:00
release.c Speedup INFO server section. 2019-10-02 11:30:20 +02:00
replication.c Fix occasional hangs on replication reconnection. (#7830) 2020-09-22 11:38:52 +03:00
rio.c more strict check in rioConnRead (#7564) 2020-07-24 14:40:19 +08:00
rio.h diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
scripting.c RM_GetContextFlags provides indication that we're in a fork child (#7783) 2020-09-20 13:43:28 +03:00
sds.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
sds.h Mark extern definition of SDS_NOINIT in sds.h 2019-12-21 11:47:31 -08:00
sdsalloc.h add missing file marco 2020-02-22 11:38:51 -05:00
sentinel.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
server.c Add ZINTER/ZUNION command 2020-09-24 08:59:14 +03:00
server.h Add ZINTER/ZUNION command 2020-09-24 08:59:14 +03:00
setcpuaffinity.c NetBSD build update. 2020-05-12 21:21:22 +01:00
setproctitle.c DragonFlyBSD little build fix 2018-11-11 18:49:55 +00:00
sha1.c
sha1.h
sha256.c ACL: add slightly modified version of sha256.c for password hashing. 2019-09-12 12:21:37 +02:00
sha256.h ACL: add slightly modified version of sha256.c for password hashing. 2019-09-12 12:21:37 +02:00
siphash.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
slowlog.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
slowlog.h Added the missed macro definition in slowlog.h 2019-12-02 00:28:41 -05:00
solarisfixes.h
sort.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
sparkline.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
sparkline.h
stream.h Stream: Inconsistency between master and replica some XREADGROUP case (#7526) 2020-09-24 12:02:40 +03:00
syncio.c
t_hash.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
t_list.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
t_set.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
t_stream.c Stream: Inconsistency between master and replica some XREADGROUP case (#7526) 2020-09-24 12:02:40 +03:00
t_string.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
t_zset.c Add ZINTER/ZUNION command 2020-09-24 08:59:14 +03:00
testhelp.h
timeout.c Add missing calls to raxStop (#7532) 2020-07-21 08:13:05 +03:00
tls.c fix recently broken TLS build error, and add coverage for CI (#7833) 2020-09-23 11:30:24 +03:00
tracking.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
util.c stringmatchlen() should not expect null terminated strings. 2020-05-06 16:18:21 +02:00
util.h Merge branch 'unstable' into rm_get_server_info 2019-11-21 10:06:15 +01:00
valgrind.sup Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
version.h Mark version of unstable branch in an unique way. 2015-09-29 17:30:24 +02:00
ziplist.c Fix redundancy use of semicolon in do-while macros in ziplist.c. (#7832) 2020-09-23 09:09:48 +03:00
ziplist.h
zipmap.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
zipmap.h
zmalloc.c Implement redisAtomic to replace _Atomic C11 builtin (#7707) 2020-09-17 16:01:45 +03:00
zmalloc.h Avoid collision with MacOS LIST_HEAD macro after #6384. 2019-12-02 09:13:29 +01:00