[
https://issues.apache.org/jira/browse/GEODE-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17491105#comment-17491105
]
ASF subversion and git services commented on GEODE-9322:
--------------------------------------------------------
Commit cd38c21282c7a11a6329428d0da41020bd9f6294 in geode-native's branch
refs/heads/develop from Mario Salazar de Torres
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=cd38c21 ]
GEODE-100043: Solve TransactionCleaningTest errors (#923)
- From time to time this test was failing with the error "Concurrent
modification in the cache". Thing is this test was not intended to
check concurrent modifications.
- In GEODE-9322 this test was modified to avoid a race-condition
whenever restarting the server. To do so, it was needed to enable
notification subscription and change the region shortcut to
CACHE_PROXY. In doing so, concurrent checks are also enabled, and due
to some strange race-condition this is occasionally leading to the exception.
- Concurrency checks were disabled for the region to avoid the
race-condition to happen at all
> Solve potential race condition in TransactionCleaningTest
> ---------------------------------------------------------
>
> Key: GEODE-9322
> URL: https://issues.apache.org/jira/browse/GEODE-9322
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Mario Salazar de Torres
> Assignee: Mario Salazar de Torres
> Priority: Major
> Labels: pull-request-available
>
> A possible race condition was detected in this new IT.
> Given there is no check for servers start/stop, it might happen that the test
> proceeds before the server is actually stopped/started.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)