IgniteClusterClient.java <http://apache-ignite-users.70518.x6.nabble.com/file/t2920/IgniteClusterClient.java> IgniteClusterNode1.java <http://apache-ignite-users.70518.x6.nabble.com/file/t2920/IgniteClusterNode1.java> IgniteClusterNode2.java <http://apache-ignite-users.70518.x6.nabble.com/file/t2920/IgniteClusterNode2.java>
The following bug could be reproduced on both server and client nodes with Ignite 2.7.0. In Ignite 2.8.1, the server node counts are correct but the client node counts are still incorrect. *Procedure:* 1. Run attached IgniteClusterNode1.java 2. Run attached IgniteClusterNode2.java 3. Run attached IgniteClusterClient.java 4. Wait for client to put 100 items in the test cache and then observe the local and cluster wide cache_size metrics 5. The cluster wide metrics should be 100 on both servers and client. The local metrics on the server should sum to 100 and the client should show 0. *Summary: * * both server and client counts were wrong in Ignite 2.7.0 * server counts were fixed somewhere before Ignite 2.8.1 but client counts are still wrong *Ignite 2.7.0 Results:* *Server1:* /Actual:/ Server1 - Cluster metrics: cache_size=40 Server1 - Local metrics: cache_size=40 /Expected:/ Server1 - Cluster metrics: cache_size=100 Server1 - Local metrics: cache_size=40 /Working Incorrectly/ *Server2:* /Actual:/ Server2 - Cluster metrics: cache_size=60 Server2 - Local metrics: cache_size=60 /Expected:/ Server2 - Cluster metrics: cache_size=100 Server2 - Local metrics: cache_size=60 /Working Incorrectly/ *Client:* /Actual:/ Client - Cluster metrics: cache_size=0 Client - Local metrics: cache_size=0 /Expected:/ Client - Cluster metrics: cache_size=100 Client - Local metrics: cache_size=0 /Working Incorrectly/ *Ignite 2.8.1 Results:* *Server1:* /Actual and Expected:/ Server1 - Cluster metrics: cache_size=100 Server1 - Local metrics: cache_size=40 /Working Correctly/ *Server2:* /Actual and Expected:/ Server2 - Cluster metrics: cache_size=100 Server2 - Local metrics: cache_size=60 /Working Correctly/ *Client:* /Actual:/ Client - Cluster metrics: cache_size=0 Client - Local metrics: cache_size=0 /Expected:/ Client - Cluster metrics: cache_size=100 Client - Local metrics: cache_size=0 /Working Incorrectly/ -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/