Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1798

ShardManager will miss sending a PeerAddressResolved message to local shards when UpdateSchemaContext comes after MemberUp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • clustering
    • None

      ShardManager will miss sending a PeerAddressResolved message to local shards when UpdateSchemaContext comes after MemberUp. Currently PeerAddressResolved is only sent when receiving MemberUp/MemberReachable messages. At that time, the local shards actors may still have not been created for the UpdateSchemaContext message has not come. So the PeerAddressResolved message won't be sent to the local shards actors for they're null. When UpdateSchemaContext arrives later, local shards actors will be created with no PeerAddress MBean information.

      To avoid such missing, PeerAddressResolved should also be sent after receiving UpdateSchemaContext if there're peer members.

            Unassigned Unassigned
            ykq Kangqian Yin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: