Mantis Bugtracker
  

Viewing Issue Advanced Details [ Jump to Notes ] [ View Simple ] [ Issue History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005698 [Resin] minor always 03-21-14 13:44 09-10-14 14:33
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.38
  Product Build
Summary 0005698: JCache iterator keys are not synchronized to remote server
Description Suppose to have two instances on the cluster: app-0 and app-1.
 
1) From app-0 I put a new item on cache:
cache.put("x" , new Date());
 
2) From app-0 I can get keys present on my cache:
Iterator<Entry<String,Date>> it = cache.iterator();
       
        while (it.hasNext()) {
             Entry<String,Date> entry = it.next();
             log(entry.getKey());
        }
 
            Will print “x”
 
3) From app-1 I can’t get keys present on my cache (but cache is synchronized with app-0):
 
while (it.hasNext()) {
             Entry<String,Date> entry = it.next();
             log(entry.getKey());
        }
            
Will print null!

Fortunately calling cache.get("x") will get right value. But I could never reliably list all cache keys.
Steps To Reproduce
Additional Information Rep by C. Bergoglio
Attached Files

- Relationships

- Notes
(0006503)
ferg
09-10-14 14:33

JCache support frozen in 4.0.x
 

- Issue History
Date Modified Username Field Change
03-21-14 13:44 cowan New Issue
09-10-14 14:33 ferg Note Added: 0006503
09-10-14 14:33 ferg Assigned To  => ferg
09-10-14 14:33 ferg Status new => closed
09-10-14 14:33 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker