Sergey Kozlov created IGNITE-2118: ------------------------------------- Summary: CacheBinaryAutoStore Example output depend on number of runs Key: IGNITE-2118 URL: https://issues.apache.org/jira/browse/IGNITE-2118 Project: Ignite Issue Type: Bug Affects Versions: 1.5 Reporter: Sergey Kozlov Assignee: Yakov Zhdanov Fix For: 1.5
1. Start H2 server 2. Start ignite node 3. Start CacheBinaryAutoStore a few times. Each time "Loaded cache entries" incremented by one. {noformat} >>> Cache auto store example started. Read value: null Overwrote old value: null Read value: Person [firstName=Isaac, lastName=Newton, id=5980051555829975513, orgId=null, resume=null, salary=0.0] Read value after commit: Person [firstName=Isaac, lastName=Newton, id=5980051555829975513, orgId=null, resume=null, salary=0.0] >>> ------------------------------------------ >>> 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} {noformat} >>> Cache auto store example started. Read value: null Overwrote old value: null Read value: Person [firstName=Isaac, lastName=Newton, id=5677607654468819582, orgId=null, resume=null, salary=0.0] Read value after commit: Person [firstName=Isaac, lastName=Newton, id=5677607654468819582, orgId=null, resume=null, salary=0.0] >>> ------------------------------------------ >>> Load data to cache from DB with custom SQL... Loaded cache entries: 3 >>> Load ALL data to cache from DB... Loaded cache entries: 8 {noformat} {noformat} >>> Cache auto store example started. Read value: null Overwrote old value: null Read value: Person [firstName=Isaac, lastName=Newton, id=5702655301354862064, orgId=null, resume=null, salary=0.0] Read value after commit: Person [firstName=Isaac, lastName=Newton, id=5702655301354862064, orgId=null, resume=null, salary=0.0] >>> ------------------------------------------ >>> Load data to cache from DB with custom SQL... Loaded cache entries: 3 >>> Load ALL data to cache from DB... Loaded cache entries: 9 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)