Skip to content

Commit 7e3b38f

Browse files
author
Alexandre Dutra
committed
Updating upgrade guide.
1 parent f8616c1 commit 7e3b38f

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

upgrade_guide/README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,18 @@ binary compatibility.
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

0 commit comments

Comments
 (0)