[jboss-user] [JBoss Cache] - Getting inconsistence data from jboss cache using gridgain

Kiran Kumar Donthula do-not-reply at jboss.com
Fri Aug 20 05:17:48 EDT 2010

Kiran Kumar Donthula [http://community.jboss.org/people/dkiran] created the discussion

"Getting inconsistence data from jboss cache using gridgain"

To view the discussion, visit: http://community.jboss.org/message/558291#558291


We are using Gridgain 2.1.1 and jboss cache 3.1.1 with JDBM persistence,

I've One SlipIndex object is stored in jboss cache path '/application/male' and same instance is also stored in '/application/unknown'. The SlipIndex objects contain array of PrintIndex objects, this PrintIndex object array is sorted based on quality, when I run application with sequentially getting same instance of SlipIndex & PrintIndex objects and also PrintIndex objects are in sorted order, but when I run in grid gain with multiple jobs (each and every path is creating one job) getting worng results, In one job getting SlipIndex including PrintIndex objects sorted order but in other job (ex:'/application/unknown' ) not getting correct order.

o/p of PrintIndex object in differnt jobs 
job1 getting : [com.cmc.facts.index.PrintIndex at 7c9f, com.cmc.facts.index.PrintIndex at 9ffb]
job2 getting : [com.cmc.facts.index.PrintIndex at 9ffb, com.cmc.facts.index.PrintIndex at 7c9f]

one more observation, if job1( i.e '/application/male') executed first getting correct results and other job2 getting wrong results, if suppose job2 (i.e '/application/unknown') executed first getting correct results and other job1 getting wrong results

Note:we are not modifying any thing only getting the data from jboss cache
Note: jboss cache is persistence using JDBM
Why this type of situation is happening using jboss cache and grid gain



Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100820/ec687dc9/attachment.html 

More information about the jboss-user mailing list