[ 
https://issues.apache.org/jira/browse/GEODE-6587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808243#comment-16808243
 ] 

ASF subversion and git services commented on GEODE-6587:
--------------------------------------------------------

Commit d989fc939bf4d6d94e69338b9b77b74d12150ec6 in geode's branch 
refs/heads/develop from Darrel Schneider
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d989fc9 ]

GEODE-6587: fix race in useFirst (#3396)

useFirst had a race condition in which the connection it
returned might not match the predicate. This is because
the predicate was only checked while the connection will
still not active. Now a recheck is done after activating
the connection. If, after activation it does not match, the
connection is added back on the end of the deque.


> ClientServerTransactionCCEDUnitTest testConnectionAffinity FAILED
> -----------------------------------------------------------------
>
>                 Key: GEODE-6587
>                 URL: https://issues.apache.org/jira/browse/GEODE-6587
>             Project: Geode
>          Issue Type: Bug
>    Affects Versions: 1.10.0
>            Reporter: xiaojian zhou
>            Assignee: Darrel Schneider
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> It's found in:
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/DistributedTestOpenJDK11/builds/564
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-pr/jobs/DistributedTestOpenJDK8/builds/1846
> {noformat}
> org.apache.geode.internal.cache.ClientServerTransactionCCEDUnitTest > 
> testConnectionAffinity FAILED
>     java.lang.AssertionError: expected count to be 11 or 12 but was 22
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to