You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,10 @@ Breaking Changes:
85
85
* Unavailable errors are retried on the next host in the load balancing plan by default.
86
86
* Statement execution no longer retried on timeouts, unless `:idempotent => true` has been specified when executing.
87
87
88
+
# 2.1.7
89
+
Bug Fixes:
90
+
*[RUBY-255](https://datastax-oss.atlassian.net/browse/RUBY-255) ControlConnection.peer_ip ignores peers that are missing critical information in system.peers.
91
+
88
92
# 2.1.6
89
93
Bug Fixes:
90
94
@@ -105,7 +109,6 @@ Bug Fixes:
105
109
106
110
Features:
107
111
108
-
*[RUBY-119](https://datastax-oss.atlassian.net/browse/RUBY-119) Use `require 'datastax/cassandra'` to avoid namespace conflicts
109
112
*[RUBY-90](https://datastax-oss.atlassian.net/browse/RUBY-90) Add support for disabling nagle algorithm (tcp nodelay), enabled by default.
110
113
*[RUBY-70](https://datastax-oss.atlassian.net/browse/RUBY-70) Add support for client-side timestamps, disabled by default.
111
114
*[RUBY-114](https://datastax-oss.atlassian.net/browse/RUBY-114) Add support for serial consistency in batch requests.
@@ -118,6 +121,7 @@ Bug Fixes:
118
121
*[RUBY-97](https://datastax-oss.atlassian.net/browse/RUBY-97) Allow disabling of the initial population of schema metadata
119
122
*[RUBY-95](https://datastax-oss.atlassian.net/browse/RUBY-95) Speed up generation of large token maps
120
123
*[RUBY-116](https://datastax-oss.atlassian.net/browse/RUBY-116) fix thread leak on connection error
124
+
*[RUBY-119](https://datastax-oss.atlassian.net/browse/RUBY-119) Use `require 'datastax/cassandra'` to avoid namespace conflicts
Copy file name to clipboardExpand all lines: README.md
+32-27Lines changed: 32 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,31 @@
1
1
# Datastax Ruby Driver for Apache Cassandra
2
2
3
-
*If you're reading this on GitHub, please note that this is the readme for the development version and that some features described here might not yet have been released. You can [find the documentation for the latest version through ruby driver docs](http://docs.datastax.com/en/latest-ruby-driver/ruby-driver/whatsNew.html) or via the release tags, [e.g. v3.0.3](https://github.com/datastax/ruby-driver/tree/v3.0.3).*
3
+
*If you're reading this on GitHub, please note that this is the readme for the development version and that some
4
+
features described here might not yet have been released. You can view the documentation for the latest released
5
+
version [here](http://docs.datastax.com/en/developer/ruby-driver/latest).*
* One-off, [prepared](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/basics/prepared_statements/) and [batch statements](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/basics/batch_statements/)
21
-
* Automatic peer discovery and cluster metadata with [support for change notifications](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/state_listeners/)
22
-
* Various [load-balancing](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/load_balancing/), [retry](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/retry_policies/) and [reconnection](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/reconnection/) policies with [ability to write your own](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/load_balancing/implementing_a_policy/)
* One-off, [prepared](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/basics/prepared_statements/) and [batch statements](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/basics/batch_statements/)
23
+
* Automatic peer discovery and cluster metadata with [support for change notifications](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/state_listeners/)
24
+
* Various [load-balancing](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/load_balancing/), [retry](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/retry_policies/) and [reconnection](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/reconnection/) policies with [ability to write your own](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/load_balancing/implementing_a_policy/)
[Check out the slides from Ruby Driver Explained](https://speakerdeck.com/avalanche123/ruby-driver-explained) for a detailed overview of the Ruby Driver architecture.
29
31
@@ -36,10 +38,14 @@ This driver works exclusively with the Cassandra Query Language v3 (CQL3) and Ca
36
38
* Ruby (MRI) 2.2, 2.3
37
39
* JRuby 1.7
38
40
39
-
__Note__: JRuby 1.6 is not officially supported, although 1.6.8 should work. Similarly,
40
-
MRI 2.0 and 2.1 are not officially supported, but they should work. 1.9.3 is deprecated
41
+
__Note__: JRuby 1.6 is not officially supported, although 1.6.8 should work. Rubinius is not supported.
42
+
MRI 2.0, 2.1, and JRuby 9k are not officially supported, but they should work. 1.9.3 is deprecated
41
43
and is likely to break in the release following 3.0.
42
44
45
+
## Feedback Requested
46
+
47
+
*Help us focus our efforts!*[Provide your input](http://goo.gl/forms/pCs8PTpHLf) on the Ruby Driver Platform and Runtime Survey (we kept it short).
48
+
43
49
## Quick start
44
50
45
51
```ruby
@@ -51,10 +57,10 @@ cluster.each_host do |host| # automatically discovers all peers
__Note__: if you want to use compression you should also install [snappy](http://rubygems.org/gems/snappy) or [lz4-ruby](http://rubygems.org/gems/lz4-ruby). [Read more about compression.](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/#compression)
94
+
__Note__: if you want to use compression you should also install [snappy](http://rubygems.org/gems/snappy) or [lz4-ruby](http://rubygems.org/gems/lz4-ruby). [Read more about compression.](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/#compression)
89
95
90
96
91
97
## Upgrading from cql-rb
92
98
93
-
Some of the new features added to the driver have unfortunately led to changes in the original cql-rb API. In the examples directory, you can find [an example of how to wrap the ruby driver to achieve almost complete interface parity with cql-rb](https://github.com/datastax/ruby-driver/blob/v3.0.3/examples/cql-rb-wrapper.rb) to assist you with gradual upgrade.
99
+
Some of the new features added to the driver have unfortunately led to changes in the original cql-rb API.
100
+
In the examples directory, you can find [an example of how to wrap the ruby driver to achieve almost complete
101
+
interface parity with cql-rb](https://github.com/datastax/ruby-driver/blob/v3.0.3/examples/cql-rb-wrapper.rb)
*[[RUBY-161](https://datastax-oss.atlassian.net/browse/RUBY-161)] Protocol version negotiation in mixed version clusters should not fall back to v1 unless it is truly warranted.
151
160
*[[RUBY-214](https://datastax-oss.atlassian.net/browse/RUBY-214)] Ensure client timestamps have microsecond precision in JRuby. Previously, some row updates would get lost in high transaction environments.
152
161
153
-
## Feedback Requested
154
-
155
-
*Help us focus our efforts!*[Provide your input](http://goo.gl/forms/pCs8PTpHLf) on the Ruby Driver Platform and Runtime Survey (we kept it short).
156
-
157
162
## Code examples
158
163
159
164
The DataStax Ruby Driver uses the awesome [Cucumber Framework](http://cukes.info/) for
@@ -212,7 +217,7 @@ the release.
212
217
* Because the driver reactor is using `IO.select`, the maximum number of tcp connections allowed is 1024.
213
218
* Because the driver uses `IO#write_nonblock`, Windows is not supported.
214
219
215
-
Please [refer to the usage documentation for more information on common pitfalls](http://docs.datastax.com/en/developer/ruby-driver/3.0/supplemental/features/)
220
+
Please [refer to the usage documentation for more information on common pitfalls](http://docs.datastax.com/en/developer/ruby-driver/3.0/features/)
216
221
217
222
## Contributing
218
223
@@ -226,7 +231,7 @@ that are common across all other DataStax drivers for Apache Cassandra.
226
231
227
232
The development effort to provide an up to date, high performance, fully featured Ruby
228
233
Driver for Apache Cassandra will continue on this project, while
229
-
[cql-rb](https://github.com/iconara/cql-rb/)will be discontinued.
234
+
[cql-rb](https://github.com/iconara/cql-rb/)has been discontinued.
230
235
231
236
## Copyright
232
237
@@ -242,4 +247,4 @@ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
242
247
either express or implied. See the License for the specific language governing permissions
Copy file name to clipboardExpand all lines: features/load_balancing/README.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,5 +28,3 @@ Here is a high level diagram of how a load balancing policy is used during query
28
28
|<-----------------| | |
29
29
| | |
30
30
```
31
-
32
-
[Check out the Ruby Driver - Load Balancing Screencast](https://academy.datastax.com/demos/datastax-ruby-driver-load-balancing-policies) for a quick and in-depth guide to load balancing with the Ruby Driver.
0 commit comments