Default load balancing policy should match the Java driver and be tokenaware

Description

The default load balancing policy for the java driver is

public static LoadBalancingPolicy defaultLoadBalancingPolicy()
{ // Note: balancing policies are stateful, so we can't store that in a static or that would screw thing // up if multiple Cluster instance are started in the same JVM. return new TokenAwarePolicy(new DCAwareRoundRobinPolicy()); }

but for the python driver it's the rather unfortunate RoundRobinPolicy

https://github.com/datastax/python-driver/blob/master/cassandra/policies.py

Environment

None

Pull Requests

None

Activity

Show:
Michael Penick
May 13, 2015, 5:25 PM

Reviewed. Added a comment about the shutdown locking change.

Adam Holmberg
May 13, 2015, 9:00 PM

PR updated

Michael Penick
May 15, 2015, 8:39 PM

+1 to code review changes

Kishan Karunaratne
May 26, 2015, 5:34 PM
Greg Bestland
May 26, 2015, 7:31 PM

Looks good +1 merged.

Fixed

Assignee

Greg Bestland

Reporter

Ryan Svihla

Fix versions

PM Priority

A

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Sprint

None

Priority

Minor
Configure