[
https://issues.apache.org/jira/browse/IGNITE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Kozlov updated IGNITE-1494:
----------------------------------
Description:
1. Copy grid_config_01.xml and grid_config_01.client.xml in examples/config
directory (it contains 25 FULL_SYNCed cache configurations)
2. Copy CacheTestExample in org.apache.ignite.examples.datagrid package
3. Start two nodes by bin/ignite.sh examples/config/grid_config_01.xml
4. Build and run CacheTestExample (it makes put/get/remove operations for 100
keys)
5. The normal output should be following:
{noformat}
[12:12:02] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[12:12:02]
[12:12:02] Ignite node started OK (id=3f1ea113)
[12:12:02] Topology snapshot [ver=5, servers=2, clients=1, CPUs=8, heap=3.8GB]
>>>cache_0001
Put 100 -> put1_
Get 100
RemoveAll 100
Put 1..50 -> put2_
Remove 30.40
RemoveAll 21..50
PutAll 21..100 -> putall_
Get 1..20
Get 21..100
>>>cache_0002
Put 100 -> put1_
Get 100
RemoveAll 100
Put 1..50 -> put2_
Remove 30.40
RemoveAll 21..50
PutAll 21..100 -> putall_
Get 1..20
Get 21..100
>>>cache_0003
Put 100 -> put1_
Get 100
RemoveAll 100
Put 1..50 -> put2_
Remove 30.40
RemoveAll 21..50
PutAll 21..100 -> putall_
Get 1..20
Get 21..100
...
{noformat}
But for some caches I got:
{noformat}
>>>cache_0011
Put 100 -> put1_
Get 100
RemoveAll 100
Put 1..50 -> put2_
Remove 30.40
RemoveAll 21..50
PutAll 21..100 -> putall_
Get 1..20
Wrong value found [key=1, val=null]
Wrong value found [key=2, val=null]
Wrong value found [key=3, val=null]
Wrong value found [key=4, val=null]
Get 21..100
...
{noformat}
was:
1. Copy grid_config_01.xml in examples/config directory (it contains 25
FULL_SYNCed cache configurations)
2. Copy CacheTestExample in org.apache.ignite.examples.datagrid package
3. Start two nodes by bin/ignite.sh examples/config/grid_config_01.xml
4. Build and run CacheTestExample (it makes 1000 single key-value puts and then
1000 gets)
5. The normal output should be following:
{noformat}
[22:55:58] __________ ________________
[22:55:58] / _/ ___/ |/ / _/_ __/ __/
[22:55:58] _/ // (7 7 // / / / / _/
[22:55:58] /___/\___/_/|_/___/ /_/ /___/
[22:55:58]
[22:55:58] ver. 1.4.0-QASVK150901#20150915-sha1:3e762e25
[22:55:58] 2015 Copyright(C) Apache Software Foundation
[22:55:58]
[22:55:58] Ignite documentation: http://ignite.apache.org
[22:55:58]
[22:55:58] Quiet mode.
[22:55:58] ^-- Logging to file
'D:\1.4.0\gridgain-community-fabric-1.4.0-QASVK150901\work\log\ignite-faa18f29.log'
[22:55:58] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or
"-v" to ignite.{sh|bat}
[22:55:58]
[22:55:58] Initial heap size is 256MB (should be no less than 512MB, use
-Xms512m -Xmx512m).
[22:56:00] Configured plugins:
[22:56:00] ^-- None
[22:56:00]
[22:56:01] Security status [authentication=off, communication encryption=off]
[22:56:02] Eviction policy not enabled with ONHEAP_TIERED mode for cache
(entries will not be moved to off-heap store): cache_4
[22:56:02] Eviction policy not enabled with ONHEAP_TIERED mode for cache
(entries will not be moved to off-heap store): cache_1
[22:56:02] Eviction policy not enabled with ONHEAP_TIERED mode for cache
(entries will not be moved to off-heap store): cache_10
[22:56:04] Performance suggestions for grid (fix if possible)
[22:56:04] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[22:56:04] ^-- Disable fully synchronous writes (set
'writeSynchronizationMode' to PRIMARY_SYNC or FULL_ASYNC)
[22:56:04] ^-- Decrease number of backups (set 'keyBackups' to 0)
[22:56:04]
[22:56:04] To start Console Management & Monitoring run ignitevisorcmd.{sh|bat}
[22:56:04]
[22:56:04] Ignite node started OK (id=faa18f29)
[22:56:04] Topology snapshot [ver=3, servers=3, clients=0, CPUs=4, heap=5.5GB]
>>>cache_1
Put for 1000
Get for 1000
>>>cache_2
Put for 1000
[23:03:21] New version is available at
http://www.gridgain.com/download/editions: 1.3.3
Get for 1000
>>>cache_3
Put for 1000
Get for 1000
>>>cache_4
Put for 1000
Get for 1000
...
{noformat}
But for some caches I got:
{noformat}
>>>cache_18
Put for 1000
Get for 1000
Wrong value found [key=0, val=null]
Wrong value found [key=1, val=null]
Wrong value found [key=2, val=null]
Wrong value found [key=3, val=null]
Wrong value found [key=4, val=null]
Wrong value found [key=5, val=null]
Wrong value found [key=6, val=null]
Wrong value found [key=7, val=null]
Wrong value found [key=8, val=null]
Wrong value found [key=9, val=null]
...
{noformat}
> Get return nulls for some cache configurations
> ----------------------------------------------
>
> Key: IGNITE-1494
> URL: https://issues.apache.org/jira/browse/IGNITE-1494
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: ignite-1.4
> Reporter: Sergey Kozlov
> Assignee: Sergey Kozlov
> Priority: Critical
> Fix For: ignite-1.4
>
>
> 1. Copy grid_config_01.xml and grid_config_01.client.xml in examples/config
> directory (it contains 25 FULL_SYNCed cache configurations)
> 2. Copy CacheTestExample in org.apache.ignite.examples.datagrid package
> 3. Start two nodes by bin/ignite.sh examples/config/grid_config_01.xml
> 4. Build and run CacheTestExample (it makes put/get/remove operations for 100
> keys)
> 5. The normal output should be following:
> {noformat}
> [12:12:02] To start Console Management & Monitoring run
> ignitevisorcmd.{sh|bat}
> [12:12:02]
> [12:12:02] Ignite node started OK (id=3f1ea113)
> [12:12:02] Topology snapshot [ver=5, servers=2, clients=1, CPUs=8, heap=3.8GB]
> >>>cache_0001
> Put 100 -> put1_
> Get 100
> RemoveAll 100
> Put 1..50 -> put2_
> Remove 30.40
> RemoveAll 21..50
> PutAll 21..100 -> putall_
> Get 1..20
> Get 21..100
> >>>cache_0002
> Put 100 -> put1_
> Get 100
> RemoveAll 100
> Put 1..50 -> put2_
> Remove 30.40
> RemoveAll 21..50
> PutAll 21..100 -> putall_
> Get 1..20
> Get 21..100
> >>>cache_0003
> Put 100 -> put1_
> Get 100
> RemoveAll 100
> Put 1..50 -> put2_
> Remove 30.40
> RemoveAll 21..50
> PutAll 21..100 -> putall_
> Get 1..20
> Get 21..100
> ...
> {noformat}
> But for some caches I got:
> {noformat}
> >>>cache_0011
> Put 100 -> put1_
> Get 100
> RemoveAll 100
> Put 1..50 -> put2_
> Remove 30.40
> RemoveAll 21..50
> PutAll 21..100 -> putall_
> Get 1..20
> Wrong value found [key=1, val=null]
> Wrong value found [key=2, val=null]
> Wrong value found [key=3, val=null]
> Wrong value found [key=4, val=null]
> Get 21..100
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)