[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

--------------------------------------------------------------
Hi,

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







-kiran 

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/558291#558291]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- 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