Split gossiped load into 'primary' and 'total'
----------------------------------------------

                 Key: CASSANDRA-1577
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1577
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Stu Hood
             Fix For: 0.7.0


Bootstrap and load balancing decisions are currently made using the total load 
on a node, as opposed to data the node is primarily responsible for due to a 
token hashing to its local range. The latter number is the only reasonable 
number to be load balancing on, since ReplicationStrategies can make arbitrary 
numbers of hops on the ring to find additional places to put replicas.

To find the primary load efficiently, we can use the 
SSTableReader.getPositionsForRanges method, although we should probably move 
the load calculation outside of the atomic swap in SSTableTracker.

The format of the serialized 'LOAD' gossip state will need to change in a 
backwards incompatible fashion.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to