Bugfix: PEL is incorrect when consumer is blocked using xreadgroup with NOACK option.

Save NOACK option into client.blockingState structure.
This commit is contained in:
dejun.xdj
2018-07-09 19:26:40 +08:00
committed by Salvatore Sanfilippo
parent b67f027699
commit 61f12973f7
4 changed files with 6 additions and 1 deletions

View File

@ -665,6 +665,7 @@ typedef struct blockingState {
robj *xread_group; /* XREADGROUP group name. */
robj *xread_consumer; /* XREADGROUP consumer name. */
mstime_t xread_retry_time, xread_retry_ttl;
int xread_group_noack;
/* BLOCKED_WAIT */
int numreplicas; /* Number of replicas we are waiting for ACK. */