Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2EC817B61 for ; Tue, 15 Sep 2015 20:20:46 +0000 (UTC) Received: (qmail 49797 invoked by uid 500); 15 Sep 2015 20:20:46 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 49765 invoked by uid 500); 15 Sep 2015 20:20:46 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 49752 invoked by uid 99); 15 Sep 2015 20:20:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 20:20:46 +0000 Date: Tue, 15 Sep 2015 20:20:46 +0000 (UTC) From: "Sergey Kozlov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-1494) putAll after put doesn't update values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1494?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Kozlov updated IGNITE-1494: ---------------------------------- Attachment: CacheEvictExample.java example-evict.xml > putAll after put doesn't update values > -------------------------------------- > > 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: Yakov Zhdanov > Priority: Critical > Fix For: ignite-1.4 > > Attachments: CacheEvictExample.java, example-evict.xml > > > 1. Copy example-evict.xml in examples/config directory > 2. Copy CacheEvictExample in org.apache.ignite.examples.datagrid package > 3. Start node bin/ignite.sh examples/config/example-evict.xml > 4. Build and run CacheEvictExample (it makes 100 single key-value puts an= d then putAll with 100 keys/values) > 5. The output if following: > {noformat} > C:\Java\jdk1.8.0_31\bin\java -Didea.launcher.port=3D7544 "-Didea.launcher= .bin.path=3DC:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Editio= n 13.1.4\bin" -Dfile.encoding=3DUTF-8 -classpath "C:\Java\jdk1.8.0_31\jre\l= ib\charsets.jar;C:\Java\jdk1.8.0_31\jre\lib\deploy.jar;C:\Java\jdk1.8.0_31\= jre\lib\javaws.jar;C:\Java\jdk1.8.0_31\jre\lib\jce.jar;C:\Java\jdk1.8.0_31\= jre\lib\jfr.jar;C:\Java\jdk1.8.0_31\jre\lib\jfxswt.jar;C:\Java\jdk1.8.0_31\= jre\lib\jsse.jar;C:\Java\jdk1.8.0_31\jre\lib\management-agent.jar;C:\Java\j= dk1.8.0_31\jre\lib\plugin.jar;C:\Java\jdk1.8.0_31\jre\lib\resources.jar;C:\= Java\jdk1.8.0_31\jre\lib\rt.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\access-brid= ge-64.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\cldrdata.jar;C:\Java\jdk1.8.0_31\= jre\lib\ext\dnsns.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\jaccess.jar;C:\Java\j= dk1.8.0_31\jre\lib\ext\jfxrt.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\localedata= .jar;C:\Java\jdk1.8.0_31\jre\lib\ext\nashorn.jar;C:\Java\jdk1.8.0_31\jre\li= b\ext\sunec.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\sunjce_provider.jar;C:\Java= \jdk1.8.0_31\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\sunp= kcs11.jar;C:\Java\jdk1.8.0_31\jre\lib\ext\zipfs.jar;D:\1.4.0\gridgain-commu= nity-fabric-1.4.0-QASVK150901\examples\target\classes;D:\.m2\repository\jav= ax\cache\cache-api\1.0.0\cache-api-1.0.0.jar;D:\.m2\repository\org\apache\i= gnite\ignite-core\1.4.0-QASVK150901\ignite-core-1.4.0-QASVK150901.jar;D:\.m= 2\repository\org\gridgain\ignite-shmem\1.0.0\ignite-shmem-1.0.0.jar;D:\.m2\= repository\org\apache\ignite\ignite-hibernate\1.4.0-QASVK150901\ignite-hibe= rnate-1.4.0-QASVK150901.jar;D:\.m2\repository\org\hibernate\hibernate-core\= 4.2.6.Final\hibernate-core-4.2.6.Final.jar;D:\.m2\repository\antlr\antlr\2.= 7.7\antlr-2.7.7.jar;D:\.m2\repository\org\jboss\logging\jboss-logging\3.1.0= .GA\jboss-logging-3.1.0.GA.jar;D:\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.= 6.1.jar;D:\.m2\repository\org\jboss\spec\javax\transaction\jboss-transactio= n-api_1.1_spec\1.0.1.Final\jboss-transaction-api_1.1_spec-1.0.1.Final.jar;D= :\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.0-api\1.0.= 1.Final\hibernate-jpa-2.0-api-1.0.1.Final.jar;D:\.m2\repository\org\hiberna= te\common\hibernate-commons-annotations\4.0.2.Final\hibernate-commons-annot= ations-4.0.2.Final.jar;D:\.m2\repository\org\javassist\javassist\3.15.0-GA\= javassist-3.15.0-GA.jar;D:\.m2\repository\org\apache\ignite\ignite-spring\1= .4.0-QASVK150901\ignite-spring-1.4.0-QASVK150901.jar;D:\.m2\repository\org\= springframework\spring-core\4.1.0.RELEASE\spring-core-4.1.0.RELEASE.jar;D:\= .m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.= jar;D:\.m2\repository\org\springframework\spring-aop\4.1.0.RELEASE\spring-a= op-4.1.0.RELEASE.jar;D:\.m2\repository\aopalliance\aopalliance\1.0\aopallia= nce-1.0.jar;D:\.m2\repository\org\springframework\spring-beans\4.1.0.RELEAS= E\spring-beans-4.1.0.RELEASE.jar;D:\.m2\repository\org\springframework\spri= ng-context\4.1.0.RELEASE\spring-context-4.1.0.RELEASE.jar;D:\.m2\repository= \org\springframework\spring-expression\4.1.0.RELEASE\spring-expression-4.1.= 0.RELEASE.jar;D:\.m2\repository\org\springframework\spring-tx\4.1.0.RELEASE= \spring-tx-4.1.0.RELEASE.jar;D:\.m2\repository\org\springframework\spring-j= dbc\4.1.0.RELEASE\spring-jdbc-4.1.0.RELEASE.jar;D:\.m2\repository\org\apach= e\ignite\ignite-log4j\1.4.0-QASVK150901\ignite-log4j-1.4.0-QASVK150901.jar;= D:\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\.m2\repository\org= \apache\ignite\ignite-indexing\1.4.0-QASVK150901\ignite-indexing-1.4.0-QASV= K150901.jar;D:\.m2\repository\commons-codec\commons-codec\1.6\commons-codec= -1.6.jar;D:\.m2\repository\org\apache\lucene\lucene-core\3.5.0\lucene-core-= 3.5.0.jar;D:\.m2\repository\com\h2database\h2\1.3.175\h2-1.3.175.jar;D:\.m2= \repository\org\apache\ignite\ignite-schedule\1.4.0-QASVK150901\ignite-sche= dule-1.4.0-QASVK150901.jar;D:\.m2\repository\it\sauronsoftware\cron4j\cron4= j\2.2.5\cron4j-2.2.5.jar;D:\.m2\repository\com\google\code\simple-spring-me= mcached\spymemcached\2.7.3\spymemcached-2.7.3.jar;D:\.m2\repository\org\jbo= ss\netty\netty\3.2.0.Final\netty-3.2.0.Final.jar;D:\.m2\repository\org\code= haus\jettison\jettison\1.1\jettison-1.1.jar;D:\.m2\repository\stax\stax-api= \1.0.1\stax-api-1.0.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Co= mmunity Edition 13.1.4\lib\idea_rt.jar" com.intellij.rt.execution.applicati= on.AppMain org.apache.ignite.examples.datagrid.CacheEvictExample > [23:13:17] __________ ________________=20 > [23:13:17] / _/ ___/ |/ / _/_ __/ __/=20 > [23:13:17] _/ // (7 7 // / / / / _/ =20 > [23:13:17] /___/\___/_/|_/___/ /_/ /___/ =20 > [23:13:17]=20 > [23:13:17] ver. 1.4.0-QASVK150901#20150915-sha1:3e762e25 > [23:13:17] 2015 Copyright(C) Apache Software Foundation > [23:13:17]=20 > [23:13:17] Ignite documentation: http://ignite.apache.org > [23:13:17]=20 > [23:13:17] Quiet mode. > [23:13:17] ^-- Logging to file 'D:\1.4.0\gridgain-community-fabric-1.4.= 0-QASVK150901\work\log\ignite-00c70137.log' > [23:13:17] ^-- To see **FULL** console log here add -DIGNITE_QUIET=3Dfa= lse or "-v" to ignite.{sh|bat} > [23:13:17]=20 > [23:13:17] Initial heap size is 256MB (should be no less than 512MB, use = -Xms512m -Xmx512m). > [23:13:18] Configured plugins: > [23:13:18] ^-- None > [23:13:18]=20 > [23:13:19] Security status [authentication=3Doff, communication encryptio= n=3Doff] > [23:13:26] Performance suggestions for grid (fix if possible) > [23:13:26] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=3Dtr= ue > [23:13:26] ^-- Disable peer class loading (set 'peerClassLoadingEnabled= ' to false) > [23:13:26] ^-- Disable grid events (remove 'includeEventTypes' from con= figuration) > [23:13:26] ^-- Disable eviction policy (remove from configuration) > [23:13:26] ^-- Decrease number of backups (set 'keyBackups' to 0) > [23:13:26] ^-- Enable ATOMIC mode if not using transactions (set 'atomi= cityMode' to ATOMIC) > [23:13:26] ^-- Disable swap store (set 'swapEnabled' to false) > [23:13:26]=20 > [23:13:26] To start Console Management & Monitoring run ignitevisorcmd.{s= h|bat} > [23:13:26]=20 > [23:13:26] Ignite node started OK (id=3D00c70137) > [23:13:26] Topology snapshot [ver=3D4, servers=3D2, clients=3D0, CPUs=3D4= , heap=3D4.5GB] > Got [key=3D0, val=3Dput0] > Got [key=3D1, val=3Dput1] > Got [key=3D2, val=3Dput2] > ... > Got [key=3D97, val=3Dput97] > Got [key=3D98, val=3Dput98] > Got [key=3D99, val=3Dput99] > Got entry [key=3D0, val=3DputAll 0] > Got entry [key=3D1, val=3Dput1] > Got entry [key=3D2, val=3DputAll 2] > Got entry [key=3D3, val=3Dput3] > Got entry [key=3D4, val=3DputAll 4] > Got entry [key=3D5, val=3DputAll 5] > Got entry [key=3D6, val=3Dput6] > Got entry [key=3D7, val=3DputAll 7] > Got entry [key=3D8, val=3DputAll 8] > Got entry [key=3D9, val=3DputAll 9] > Got entry [key=3D10, val=3Dput10] > Got entry [key=3D11, val=3Dput11] > Got entry [key=3D12, val=3Dput12] > Got entry [key=3D13, val=3DputAll 13] > ... > Got entry [key=3D93, val=3Dput93] > Got entry [key=3D94, val=3Dput94] > Got entry [key=3D95, val=3Dput95] > Got entry [key=3D96, val=3DputAll 96] > Got entry [key=3D97, val=3DputAll 97] > Got entry [key=3D98, val=3Dput98] > Got entry [key=3D99, val=3Dput99] > [23:13:27] Ignite node stopped OK [uptime=3D00:00:00:482] > Process finished with exit code 0 > {noformat} > Why some keys still have old values and weren't overwritten? -- This message was sent by Atlassian JIRA (v6.3.4#6332)