Skip to content

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

Description

@runingriver

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions