You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob Barrett (Jira)" <ji...@apache.org> on 2022/01/13 20:23:00 UTC

[jira] [Created] (GEODE-9964) ExplicitMoveDirector incorrectly compares Member with InternalDistributedMember.

Jacob Barrett created GEODE-9964:
------------------------------------

             Summary: ExplicitMoveDirector incorrectly compares Member with InternalDistributedMember.
                 Key: GEODE-9964
                 URL: https://issues.apache.org/jira/browse/GEODE-9964
             Project: Geode
          Issue Type: Bug
          Components: core
    Affects Versions: 1.14.2, 1.15.0
            Reporter: Jacob Barrett


{{ExplicitMoveDirector}} incorrectly compares {{Member}} with {{InternalDistributedMember}} due use of raw types rather than generics. It is also likely there is either no testing for this failure case or the test is passing for the wrong reasons.

See [here|https://github.com/apache/geode/blob/2b032440eb9d0f3c68a94602289cc41435c68fad/geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/rebalance/ExplicitMoveDirector.java#L93]
See [here|https://github.com/apache/geode/blob/2b032440eb9d0f3c68a94602289cc41435c68fad/geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/rebalance/ExplicitMoveDirector.java#L99]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)