Major feature and improvement release.
- New Features
- Client now supports distributing reads from Replicas using
ClientPolicy.RequestProleReplicas
andPolicy.ReplicaPolicy
- Client now supports distributing reads from Replicas using
- Improvements
Cluster.GetConnection
will now retry to acquire a connection until timeout.Client.DropIndex
method now blocks until all nodes report the index is dropped.- Async tasks like
CreateIndex
will retry a few times before deciding a non-existing job means it has finished. - Don't use
math.MaxInt64
, it breaks 32-bit builds. PR #139, thanks to Cameron Sparr
- Fixes
- Maps with 0 elements will automatically shortcut to unordered empty maps.
- Return the error in
BatchCommandGet
on parse error.