Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
runingriver opened this issue Jul 22, 2018 · 0 comments

Comments

@runingriver
Copy link

runingriver commented Jul 22, 2018

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant