Hello Team,

I am trying to understand *transaction behavior* with apache geode. I have
created a simple demo as attached here in with this email.
It's a simple spring data geode application with apache geode 1.6.0

Spring Startup Listener class >> SimpleApplicationListener .java
Service class >> CustomerService.java

2 thread are simultaneously trying to update customer=1234 by changing name
from [Thread-T1 - (From A1->To A2)] and [Thread-T2 - (From A1->To A3)]
I assume that at least 1 thread has stale copy of data and should throw
commit conflict exception but I think I am missing something and it's not
behaving as expected.

Could some one help me to understand what I am missing here?
[Attached tar.gz file]

Thanks & Regards,
- Dharam Thacker

Attachment: geode-study.tar.gz
Description: application/gzip

Reply via email to