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

William Burns (JIRA) issues at jboss.org
Wed Oct 28 14:53:01 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-5896:
--------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/3790


> 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
>            Assignee: 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