kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | ceb8052ff8a91425b43cf5dd5e2dcf31bf3e44ea49a2173d6fde9744899d3b66 |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2015-10-05 17:48 +02:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2015-10-05 17:48 +02:00 |
| Parents | 6f83a2a3ddf9 |
1 file changed
modified upgrade_guide/README.md +8 −11
| @@ -36,21 +36,18 @@ | ||
| 36 | 36 | If this is a problem for you, `MappingManager(Session, ProtocolVersion)` |
| 37 | 37 | preserves the previous behavior (see the API docs for more details). |
| 38 | 38 | |
| 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()` | |
| 50 | 40 | or `raw()` is used to build a value to be inserted in the database. |
| 51 | 41 | If you know that the CQL functions or expressions are safe, use |
| 52 | 42 | `setIdempotent(true)` on the statement. |
| 53 | 43 | |
| 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 | + | |
| 54 | 51 | |
| 55 | 52 | ### 2.1.6 |
| 56 | 53 |