You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Peter Karich (JIRA)" <ji...@apache.org> on 2018/11/30 14:30:00 UTC

[jira] [Created] (IGNITE-10496) Unfair queue polling for mostly empty queue

Peter Karich created IGNITE-10496:
-------------------------------------

             Summary: Unfair queue polling for mostly empty queue
                 Key: IGNITE-10496
                 URL: https://issues.apache.org/jira/browse/IGNITE-10496
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.6
            Reporter: Peter Karich


I created a simple consumer+producer scenario:
[https://github.com/karussell/igniteexample/blob/master/src/main/java/test/IgniteTest.java]
 
This leads to the bug that mostly one machine gets all items from the queue, IMO it should work like round robin nature and make it possible for the other machine to poll. If this is not a bug it should be a least written somewhere in the documentation.
 
Also please note, if you increase the sleep in the example above the load is equal like in the original example code here:
 
http://apache-ignite-users.70518.x6.nabble.com/Clearing-a-distributed-queue-hangs-after-taking-down-one-node-td7353.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)