[infinispan-issues] [JBoss JIRA] (ISPN-5896) ClusterStreamManager segment generation should use locatePrimaryOwnerForSegment

William Burns (JIRA) issues at jboss.org
Wed Oct 28 12:59:00 EDT 2015


William Burns created ISPN-5896:
-----------------------------------

             Summary: ClusterStreamManager segment generation should use locatePrimaryOwnerForSegment
                 Key: ISPN-5896
                 URL: https://issues.jboss.org/browse/ISPN-5896
             Project: Infinispan
          Issue Type: Enhancement
          Components: Core
    Affects Versions: 8.1.0.Alpha2
            Reporter: William Burns
             Fix For: 8.1.0.Beta1, 8.0.2.Final


ClusterStreamManager has to find all of the addresses for a given set of segments.  Unfortunately it does this by finding the segments per address.  This ends up having n * m time complexity.  If we instead did it so we find the primary owner per segment it would only have n time complexity as finding the primary owner of a segment is constant time.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list