Igor Sapego created IGNITE-13484:
------------------------------------

             Summary: C++ odbc-example losing some values if run with 1 
additional node
                 Key: IGNITE-13484
                 URL: https://issues.apache.org/jira/browse/IGNITE-13484
             Project: Ignite
          Issue Type: Bug
          Components: odbc
    Affects Versions: 2.8.1
            Reporter: Igor Sapego
            Assignee: Igor Sapego
             Fix For: 2.10


Case:
- run 1 additional node
- run odbc-example

Actual:
{code}
>>> Cache ODBC example started.


>>> Getting list of persons:
>>> John Doe Master Degree. 2200 
>>> John Smith Bachelor Degree. 1700 
>>> Jane Smith Master Degree. 2500 
>>> John Roe Bachelor Degree. 1500 
>>> Jane Roe Bachelor Degree. 1000 
>>> Richard Miles Master Degree. 2400 
>>> Mary Major Bachelor Degree. 900 
>>> Jane Doe Bachelor Degree. 1300

>>> Getting average salary by degree:
>>> Bachelor Degree. 1280 
>>> Master Degree. 2366.67

>>> Getting people with organizations:
>>> John Doe Microsoft 
>>> Richard Miles Microsoft


>>> Adjusted salary for Mary Major. Querying again.

>>> Getting list of persons:
>>> John Doe Master Degree. 2200 
>>> John Smith Bachelor Degree. 1700 
>>> Jane Smith Master Degree. 2500 
>>> John Roe Bachelor Degree. 1500 
>>> Jane Roe Bachelor Degree. 1000 
>>> Richard Miles Master Degree. 2400 
>>> Mary Major Bachelor Degree. 1200 
>>> Jane Doe Bachelor Degree. 1300

>>> Getting average salary by degree:
>>> Bachelor Degree. 1340 
>>> Master Degree. 2366.67

>>> Getting people with organizations:
>>> John Doe Microsoft 
>>> Richard Miles Microsoft


>>> Removing several employees. Querying again.

>>> Getting list of persons:
>>> John Doe Master Degree. 2200 
>>> John Smith Bachelor Degree. 1700 
>>> Jane Roe Bachelor Degree. 1000 
>>> Richard Miles Master Degree. 2400 
>>> Mary Major Bachelor Degree. 1200 
>>> Jane Doe Bachelor Degree. 1300

>>> Getting average salary by degree:
>>> Bachelor Degree. 1300 
>>> Master Degree. 2300

>>> Getting people with organizations:
>>> John Doe Microsoft 
>>> Richard Miles Microsoft 
[12:10:00] Ignite node stopped OK [uptime=00:00:00.876]

>>> Example finished, press 'Enter' to exit ...
{code}

Output with 0 addition nodes
{code}

>>> Cache ODBC example started.


>>> Getting list of persons:
>>> John Doe Master Degree. 2200 
>>> Jane Doe Bachelor Degree. 1300 
>>> John Smith Bachelor Degree. 1700 
>>> Jane Smith Master Degree. 2500 
>>> John Roe Bachelor Degree. 1500 
>>> Jane Roe Bachelor Degree. 1000 
>>> Richard Miles Master Degree. 2400 
>>> Mary Major Bachelor Degree. 900

>>> Getting average salary by degree:
>>> Bachelor Degree. 1280 
>>> Master Degree. 2366.67

>>> Getting people with organizations:
>>> John Doe Microsoft 
>>> Jane Doe Microsoft 
>>> John Smith Red Cross 
>>> Jane Smith Red Cross 
>>> John Roe Red Cross 
>>> Jane Roe Red Cross 
>>> Richard Miles Microsoft 
>>> Mary Major Red Cross


>>> Adjusted salary for Mary Major. Querying again.

>>> Getting list of persons:
>>> John Doe Master Degree. 2200 
>>> Jane Doe Bachelor Degree. 1300 
>>> John Smith Bachelor Degree. 1700 
>>> Jane Smith Master Degree. 2500 
>>> John Roe Bachelor Degree. 1500 
>>> Jane Roe Bachelor Degree. 1000 
>>> Richard Miles Master Degree. 2400 
>>> Mary Major Bachelor Degree. 1200

>>> Getting average salary by degree:
>>> Bachelor Degree. 1340 
>>> Master Degree. 2366.67

>>> Getting people with organizations:
>>> John Doe Microsoft 
>>> Jane Doe Microsoft 
>>> John Smith Red Cross 
>>> Jane Smith Red Cross 
>>> John Roe Red Cross 
>>> Jane Roe Red Cross 
>>> Richard Miles Microsoft 
>>> Mary Major Red Cross


>>> Removing several employees. Querying again.

>>> Getting list of persons:
>>> John Doe Master Degree. 2200 
>>> Jane Doe Bachelor Degree. 1300 
>>> John Smith Bachelor Degree. 1700 
>>> Jane Roe Bachelor Degree. 1000 
>>> Richard Miles Master Degree. 2400 
>>> Mary Major Bachelor Degree. 1200

>>> Getting average salary by degree:
>>> Bachelor Degree. 1300 
>>> Master Degree. 2300

>>> Getting people with organizations:
>>> John Doe Microsoft 
>>> Jane Doe Microsoft 
>>> John Smith Red Cross 
>>> Jane Roe Red Cross 
>>> Richard Miles Microsoft 
>>> Mary Major Red Cross 
[12:08:42] Ignite node stopped OK [uptime=00:00:00.687]

>>> Example finished, press 'Enter' to exit ...
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to