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

Remove checking for StartupMessage type from Membership

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • membership
    • None

    Description

      During creation of the Membership module a new marker interface was created to remove a dependency on StartupMessage

      We decided to move this checking out of membership. Even if we leave this marker in, the javadocs above don't really describe what this is doing or why someone would add this marker to a message.

       

      in JGroupsMessenger.java

      // admin-only VMs don't have caches, so we ignore cache operations// multicast to them, avoiding deserialization cost and classpath// problemsif ((services.getConfig()
      .getVmKind() == MemberIdentifier.ADMIN_ONLY_DM_TYPE)
      && (msg instanceof CacheOperationMessageMarker)) {
      return;}

      Attachments

        Activity

          People

            Unassigned Unassigned
            echobravo Ernest Burghardt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: