Hi, I've been playing with Ignite events for a couple of days but there's a behavior of my sample programs that I really can't understand. I've prepared 2 sample programs: 1. a Putter program that "gets or creates" a simple cache "MyCache" with an Integer Key and a String Value and puts 9 elements (from 1 to 9) into "MyCache" 2. a ServerNode program that defines a local listener on "MyCache" for PUT events and displays the newly added keys.
N.B. All programs are launched as "Server" Ignite nodes and "MyCache" is defined as PARTITIONED with 0 backuop copies If I launch 2 instances of ServerNode and 1 instance of Putter, I obtain the following output: ServerNode 1 displays the keys: 2, 3, 5, 7, 9 ServerNode 2 display the keys: 1, 4,6,8 Now, this is already an output that puzzles me: if the cache is partitioned, the keys should be spread onto all Server instances, so I should not see all the keys reported by the 2 ServerNode instances. There should be some keys missing (i.e. those on the Putter server node). Moreover, if I add a local listener also on the Putter node, the output becomes still more puzzling: ServerNode 1 displays the keys: 2, 3, 5, 7, 9 ServerNode 2 display the keys: 1, 4,6,8 Putter displays the keys : 2,3,5 What am I missing here ? There surely must be something that I misunderstood, but I can't figure out what it could be. Any help will be much appreciated! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
