Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7735

MemberIdentifierImpl cannot be deserialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • membership
    • None

    Description

      MemberIdentifierImpl currently implements DataSerializableFixedID, but it has the same DSFID as InternalDistributedMember (DataSerializableFixedID.DISTRIBUTED_MEMBER). When serializables are registered in geode-core, that DataSerializableFixedID.DISTRIBUTED_MEMBER is associated with InternalDistributedMember.

      Currently there is no way to deserialize a MemberIdentifierImpl, because nothing registers DataSerializableFixedID.DISTRIBUTED_MEMBER associated with MemberIdentifierImpl.

      One option might be to have geode-membership register DataSerializableFixedID.DISTRIBUTED_MEMBER with MemberIdentifierImpl and let geode-core override it, but it's probably better not to associate the same ID with two classes. Instead, we should create a new id for MemberIdentifierImpl.

      Attachments

        Activity

          People

            echobravo Ernest Burghardt
            upthewaterspout Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: