Sergey Kozlov created IGNITE-11588: -------------------------------------- Summary: The wrong result for Query Key: IGNITE-11588 URL: https://issues.apache.org/jira/browse/IGNITE-11588 Project: Ignite Issue Type: Bug Components: platforms Affects Versions: 2.7 Environment: Windows 10, Visual Studio 2010 Pro, Oracle JDK 8 Reporter: Sergey Kozlov
I use modified C++ Query Example (see attached files) that verify the received result against expected one and print out message if they're different. Just copy *.cpp file in {{platforms/cpp/examples/query-example/src}} and build example project 1. Start two nodes {{bin\ignite.bat query-example-fix.xml -v}} 2. Run query-example.exe: {noformat} [13:35:48] Ignite node started OK (id=1e2c0f81) [13:35:48] Topology snapshot [ver=3, locNode=1e2c0f81, servers=3, clients=0, state=ACTIVE, CPUs=8, offheap=9.5GB, heap=2.9GB] >>> Cache query example started. Iteration 698. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 699. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 700. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 701. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 702. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 703. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 704. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 705. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 .... Iteration 996. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 997. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 998. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 Iteration 999. Average salary for 'ApacheIgnite' employees, expected 1500, found: 2000 [13:35:51] Ignite node stopped OK [uptime=00:00:02.652] >>> Example finished, press 'Enter' to exit ... {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)