Elffuss BraidHub

kikocis/java-driver public

Updating upgrade guide.
Changesetceb8052ff8a91425b43cf5dd5e2dcf31bf3e44ea49a2173d6fde9744899d3b66
AuthorAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-10-05 17:48 +02:00
CommitterAlexandre Dutra <alexandre.dutra@datastax.com> · 2015-10-05 17:48 +02:00
Parents6f83a2a3ddf9

Browse the files at this changeset

1 file changed

modified upgrade_guide/README.md +8 −11
@@ -36,21 +36,18 @@
3636 If this is a problem for you, `MappingManager(Session, ProtocolVersion)`
3737 preserves the previous behavior (see the API docs for more details).
3838
39-Merged from 2.0.11:
40-
41-4. The `DefaultRetryPolicy`'s behaviour has changed in the case of an Unavailable
42- exception received from a request. The new behaviour will cause the driver to
43- process a Retry on a different node at most once, otherwise an exception will
44- be thrown. This change makes sense in the case where the node tried initially
45- for the request happens to be isolated from the rest of the cluster (e.g.
46- because of a network partition) but can still answer to the client normally.
47- In this case, trying another node has a chance of success.
48- The previous behaviour was to always throw an exception.
49-5. A `BuiltStatement` is now considered non-idempotent whenever a `fcall()`
39+4. A `BuiltStatement` is now considered non-idempotent whenever a `fcall()`
5040 or `raw()` is used to build a value to be inserted in the database.
5141 If you know that the CQL functions or expressions are safe, use
5242 `setIdempotent(true)` on the statement.
5343
44+5. The list of contact points provided at startup is now shuffled before trying
45+ to open the control connection, so that multiple clients with the same contact
46+ points don't all pick the same control host. As a result, you can't assume that
47+ the driver will try contact points in a deterministic order. In particular, if
48+ you use the `DCAwareRoundRobinPolicy` without specifying a primary datacenter
49+ name, make sure that you only provide local hosts as contact points.
50+
5451
5552 ### 2.1.6
5653