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

Alexey Goncharuk commented on IGNITE-508:
-----------------------------------------

Sergey,

Please retest and close if issue is not reproduced.

> Loop of start/stop cache hangs
> ------------------------------
>
>                 Key: IGNITE-508
>                 URL: https://issues.apache.org/jira/browse/IGNITE-508
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: sprint-2
>            Reporter: Sergey Kozlov
>            Assignee: Sergey Kozlov
>             Fix For: sprint-3
>
>         Attachments: loop_start_stop_cache.zip
>
>
> I modified CachePutGetExample by following way:
> {code:title=CachePutGetExample.java|borderStyle=solid}
> public static void main(String[] args) throws IgniteException {
>     try (Ignite ignite = 
> Ignition.start("examples/config/example-compute.xml")) {
>         CacheConfiguration<Integer, String> cfg = new CacheConfiguration<>();
>         cfg.setCacheMode(CacheMode.PARTITIONED);
>         cfg.setName(CACHE_NAME);
>         for (int i=0; i < 1000; i++) {
>             System.out.println("Iteration " + Integer.toString(i));
>             try (IgniteCache<Integer, String> cache = 
> ignite.createCache(cfg)) {
>                 // Individual puts and gets.
>                 putGet(cache);
>                 // Bulk puts and gets.
>                 putAllGetAll(cache);
>             }
>         }
>     }
> }
> {code}
> 1. Start ExampleNodeStartup and wait until topology update.
> 2. Start modified CachePutGetExample
> Now example hangs and print out warnings:
> {noformat}
> [16:27:38,230][WARN 
> ][grid-timeout-worker-#33%null%][GridDhtPartitionsExchangeFuture] Retrying 
> preload partition exchange due to timeout [done=false, dummy=false, 
> exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=2, 
> minorTopVer=159], nodeId=7387a0fd, evt=DISCOVERY_CUSTOM_EVT], rcvdIds=[], 
> rmtIds=[9e571dc5], remaining=[9e571dc5], init=true, initFut=true, ready=true, 
> replied=false, added=true, oldest=9e571dc5, oldestOrder=1, evtLatch=0, 
> locNodeOrder=2, locNodeId=7387a0fd-52a5-4d48-9c0e-1972f95bdf83]
> {noformat}
> See more details in attached files



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

Reply via email to