spring-projects / spring-data-geode

Spring Data support for Apache Geode
Apache License 2.0
51 stars 39 forks source link

Add test asserting 2 concurrent threads entering a transaction on the same entry leads to the proper outcome [DATAGEODE-153] #201

Closed spring-projects-issues closed 5 years ago

spring-projects-issues commented 5 years ago

John Blum opened DATAGEODE-153 and commented

Add a test class with test cases asserting that 2 concurrent threads entering a transaction on the same entry leads to the correct outcome, a successful transaction commit/completion by thread one and a o.a.g.cache.CommitConflictException by thread two


Affects: 2.0.11 (Kay SR11), 2.1.1 (Lovelace SR1)

Reference URL: http://markmail.org/message/wdpabsb2k6jepfsv

Referenced from: commits https://github.com/spring-projects/spring-data-geode/commit/ba98ab91cf54cd20a7184ef38791d25fdf8a74b0

spring-projects-issues commented 5 years ago

John Blum commented

See the o.s.d.g.transaction.CommitConflictExceptionTransactionalIntegrationTests class