antirez / antirez/disque

Duplicate consumer when add_job param of repli no equal the cluster node numbers

未关闭
#212 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
8.1k
派生
532
PR 合并指标
30 天内没有已合并 PR

描述

ENV: cluster has three node of A,B,C
Case Step:
1. add 100 job to A, param: replicate=1, and other param with default.
now result: A: info - registered_jobs=100,qlen=100; B:info - registered_jobs=0,qlen=0;C: same as B
2. clinet connect to C to consumer all of those jobs
now result: A: info - registered_jobs=100,qlen=0; B:info - registered_jobs=0,qlen=0;C: same as B
Note: the registered_jobs=100 at the time!
And consumer client connect to A, 100 jobs duplicate send to A!
But when A,C be connected at the same time, result is only be consumered once only
Unreasonable it is?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。