[ https://issues.apache.org/jira/browse/IGNITE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Kozlov updated IGNITE-1494: ---------------------------------- Summary: Get return nulls for some cache configurations (was: putAll after put doesn't update values for some cache configurations) > 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: Alexey Goncharuk > Priority: Critical > Fix For: ignite-1.4 > > Attachments: CacheTestExample.java, grid_config_01.xml > > > 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/example-evict.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} -- This message was sent by Atlassian JIRA (v6.3.4#6332)