antirez / antirez/disque

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

Open
#212 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.1k
Forks
532
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.