Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-936

putAll suboptimal and possibly wrong

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.2.0.Final
    • Core
    • None

      DistributionManager.visitPutMapCommand broadcasts ALL the map entries to ALL the nodes to which keys are mapped.
      E.g. if Map=

      {k1=v1, k2=v2} and k1 maps to node A, k2 maps to node B then both A and B would receive {k1=v1, k2=v2}

      .
      The way it should be is A receives

      {k1=v1}

      and B receives

      {k2=v2}

      .

      This is suboptimal and error prone as, by the look of code, both nodes would store ALL the data in the data container.

            manik_jira Manik Surtani (Inactive)
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: