ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Karich (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-10496) Unfair queue polling for mostly empty queue
Date Fri, 30 Nov 2018 14:30:00 GMT
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)

Mime
View raw message