You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yakov Zhdanov (JIRA)" <ji...@apache.org> on 2015/12/14 16:04:46 UTC

[jira] [Commented] (IGNITE-2158) Null values in output of CacheDummyStoreExample, CacheJdbcStoreExample and CacheSpringStoreExample

    [ https://issues.apache.org/jira/browse/IGNITE-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056072#comment-15056072 ] 

Yakov Zhdanov commented on IGNITE-2158:
---------------------------------------

Alex, can you please revisit store examples and demonstrate:

# read through - put to cache with write through, then cache.clear(), then cache.get() should return proper value
# withSkipStore() method usage - show that store stays unaffected when performing cache ops
# anything else?

> Null values in output of CacheDummyStoreExample, CacheJdbcStoreExample and CacheSpringStoreExample
> --------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2158
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2158
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.5
>         Environment: OS X 10.10.2
> jdk 1.7
>            Reporter: Ilya Suntsov
>            Assignee: Alexey Kuznetsov
>             Fix For: 1.5
>
>
> In output of the following examples there are fields that have 'null' or zero values (salary, orgId, resume ):
> 1.CacheDummyStoreExample
> {noformat}
> [16:48:47] Ignite node started OK (id=64a079ad)
> [16:48:47] Topology snapshot [ver=9, servers=3, clients=0, CPUs=8, heap=8.0GB]
> >>> Cache store example started.
> >>> Store loadCache for entry count: 100000
> >>> Loaded 100000 keys with backups in 971ms.
> Read value: null
> Overwrote old value: null
> Read value: Person [id=7754401276845136764, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> >>> Store put [key=7754401276845136764, val=Person [id=7754401276845136764, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null], xid=ab2b0c0a151-03aba62c-0000-0009-0000-0151a0c0307a]
> Read value after commit: Person [id=7754401276845136764, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> [16:48:48] Ignite node stopped OK [uptime=00:00:01:38]
> {noformat}
> 2. CacheJdbcStoreExample
> {noformat}
> [16:49:36] Ignite node started OK (id=f662db78)
> [16:49:36] Topology snapshot [ver=11, servers=3, clients=0, CPUs=8, heap=8.0GB]
> >>> Cache store example started.
> >>> Loaded 0 values into cache.
> >>> Loaded 1 keys with backups in 26ms.
> >>> Store load [key=8980561285181288706]
> Read value: null
> Overwrote old value: null
> Read value: Person [id=8980561285181288706, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> >>> Store write [key=8980561285181288706, val=Person [id=8980561285181288706, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]]
> Read value after commit: Person [id=8980561285181288706, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> [16:49:36] Ignite node stopped OK [uptime=00:00:00:182]
> {noformat}
> 3. CacheSpringStoreExample
> {noformat}
> [16:50:16] Ignite node started OK (id=670dd40a)
> [16:50:16] Topology snapshot [ver=13, servers=3, clients=0, CPUs=8, heap=8.0GB]
> >>> Cache store example started.
> >>> Loaded 0 values into cache.
> >>> Loaded 0 keys with backups in 33ms.
> Read value: null
> Overwrote old value: null
> Read value: Person [id=8312945083421167351, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> >>> Store write [key=8312945083421167351, val=Person [id=8312945083421167351, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]]
> Read value after commit: Person [id=8312945083421167351, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> [16:50:16] Ignite node stopped OK [uptime=00:00:00:469]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)