[
https://issues.apache.org/jira/browse/GEODE-4144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327612#comment-16327612
]
ASF GitHub Bot commented on GEODE-4144:
---------------------------------------
jhuynh1 closed pull request #1277: GEODE-4144: race condition when internal
region puts occur before cli…
URL: https://github.com/apache/geode/pull/1277
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java
index 9208963e8a..cb9da653ce 100755
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/EventID.java
@@ -565,7 +565,9 @@ public String cheapToString() {
.toLocalizedString(),
ioe);
}
- EventID.system = sys;
+ if (((InternalDistributedMember) EventID.systemMemberId).getPort() != 0)
{
+ EventID.system = sys;
+ }
}
return EventID.client_side_event_identity;
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> CI failure: org.apache.geode.internal.cache.ha.PutAllDUnitTest > testPutAll
> FAILED
> ----------------------------------------------------------------------------------
>
> Key: GEODE-4144
> URL: https://issues.apache.org/jira/browse/GEODE-4144
> Project: Geode
> Issue Type: Bug
> Components: client queues
> Affects Versions: 1.4.0
> Reporter: Shelley Lynn Hughes-Godfrey
> Priority: Major
> Labels: pull-request-available
> Attachments: geode-4144.logs
>
>
> {noformat}
> org.apache.geode.internal.cache.ha.PutAllDUnitTest > testPutAll FAILED
> java.lang.AssertionError: expected:
> org.apache.geode.internal.cache.EventID<EventIDid=25bytes;threadID=2;sequenceID=0]>
> but was:
> org.apache.geode.internal.cache.EventID<EventIDid=25bytes;threadID=2;sequenceID=0]>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at
> org.apache.geode.internal.cache.ha.PutAllDUnitTest.testPutAll(PutAllDUnitTest.java:372)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)