]
William Burns updated ISPN-5896:
--------------------------------
Status: Open (was: New)
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.