You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vasilisa Sidorova (JIRA)" <ji...@apache.org> on 2016/09/27 17:56:20 UTC
[jira] [Created] (IGNITE-3983) CacheBinaryAutoStoreExample get
wrong result
Vasilisa Sidorova created IGNITE-3983:
------------------------------------------
Summary: CacheBinaryAutoStoreExample get wrong result
Key: IGNITE-3983
URL: https://issues.apache.org/jira/browse/IGNITE-3983
Project: Ignite
Issue Type: Bug
Affects Versions: 1.7
Environment: Ubuntu 14.04, Win7, Apache Ignite 1.7.2
Reporter: Vasilisa Sidorova
Priority: Critical
---------------------------------------------
DESCRIPTION
---------------------------------------------
CacheBinaryAutoStoreExample get wrong result
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
# Build examples project
# Start H2 database TCP server using
# Start a few nodes using ExampleNodeStartup (it's stable reproducible with different numbers of nodes)
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
{noformat}
>>> Populate database with data...
>>> Cache auto store example started...
>>> Read value: null
>>> Overwrote old value: null
>>> Read value: Person [id=25121642, orgId=1, lastName=Newton, firstName=Isaac, salary=100.1, resume=English physicist and mathematician]
>>> Update salary in transaction...
>>> Read value after commit: Person [id=25121642, orgId=1, lastName=Newton, firstName=Isaac, salary=200.2, resume=English physicist and mathematician]
>>> ------------------------------------------
>>> Load data to cache from DB with custom SQL...
>>> Loaded cache entries: 3
>>> Load ALL data to cache from DB...
>>> Loaded cache entries: 0
{noformat}
---------------------------------------------
EXPECTED RESULT
---------------------------------------------
{noformat}
>>> Populate database with data...
>>> Cache auto store example started...
>>> Read value: null
>>> Overwrote old value: null
>>> Read value: Person [id=25121642, orgId=1, lastName=Newton, firstName=Isaac, salary=100.1, resume=English physicist and mathematician]
>>> Update salary in transaction...
>>> Read value after commit: Person [id=25121642, orgId=1, lastName=Newton, firstName=Isaac, salary=200.2, resume=English physicist and mathematician]
>>> ------------------------------------------
>>> Load data to cache from DB with custom SQL...
>>> Loaded cache entries: 3
>>> Load ALL data to cache from DB...
>>> Loaded cache entries: 7
{noformat}
---------------------------------------------
ADDITIONAL INFO
---------------------------------------------
Isn't reproducible for previous versions
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)