1 Reply Latest reply on Jan 31, 2011 12:23 PM by Galder Zamarreño

    locate API

    itay hindy Newbie

      Hi all,


      The locate API on the DistributionManager returns a list of owners of the object.

      I wanted to know:

      1 - if the server that was one of the owners is down, will it still be on that list?

      2 - is the list is ordered all the time?

      3 - is there a way to know who is the primary owner?


      Thanks in advance

        • 1. locate API
          Galder Zamarreño Master

          Re 1. Nope

          Re 2. As long as the view is constant, locate on particular key will return the list in same order.

          Re 3. There's not a separation between primary and secundary in Infinispan. There's a number of nodes where data must reside and the list will contain as many nodes as needed to satisfy the number of copies.