Skip to content

Row builder #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 279 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
a46a6e0
Very minor tweaks to expected output for view metadata cucumber test …
stamhankar999 Mar 29, 2016
7ee62c9
[RUBY-168] Integration tests for host broadcast and listen address
kishkaru Mar 30, 2016
bcf6f7b
RUBY-165 -- Added input validation around protocol_version cluster op…
stamhankar999 Mar 30, 2016
cfeca76
RUBY-165 -- Added input validation around protocol_version cluster op…
stamhankar999 Mar 30, 2016
26aa8eb
Merge pull request #149 from datastax/168_tests
kishkaru Mar 30, 2016
5441145
Merge pull request #151 from datastax/st/RUBY-165
stamhankar999 Mar 30, 2016
d49e0df
[RUBY-165] Integration tests for adding protocol_version as Cluster o…
kishkaru Mar 30, 2016
194ffb3
Merge pull request #150 from datastax/165_tests
kishkaru Mar 30, 2016
40db1ef
RUBY-165 -- Added input validation around protocol_version cluster op…
stamhankar999 Mar 30, 2016
c14ba97
Merge pull request #152 from datastax/st/RUBY-165
stamhankar999 Mar 30, 2016
17da82f
[RUBY-178] Integration tests and cucumber features for indexes
kishkaru Apr 1, 2016
389afa4
Merge pull request #153 from datastax/178_tests
kishkaru Apr 1, 2016
3ae09ba
Fixed typo in comment
stamhankar999 Apr 1, 2016
d296db3
[RUBY-181] Integration tests and cucumber features for table metadata
kishkaru Apr 2, 2016
8bfbef8
Integration tests and cucumber features for keyspace metadata
kishkaru Apr 2, 2016
4567529
Merge pull request #154 from datastax/table_meta_tests
kishkaru Apr 2, 2016
49864f6
RUBY-185 - Added logic in fetcher to handle static-compact tables in …
stamhankar999 Apr 5, 2016
96b8ef4
Merge pull request #156 from datastax/RUBY-185
stamhankar999 Apr 5, 2016
e236e54
RUBY-186 - Handle custom type columns in C* 3.x schemas.
stamhankar999 Apr 5, 2016
9c2df42
RUBY-186 - Handle custom type columns in C* 3.x schemas.
stamhankar999 Apr 5, 2016
1a71cea
Merge pull request #157 from datastax/RUBY-186
stamhankar999 Apr 5, 2016
978e258
[RUBY-167] Integration tests and cucumber features for materialized v…
kishkaru Apr 6, 2016
5cb3a12
Merge pull request #155 from datastax/167_tests
kishkaru Apr 6, 2016
c6d108b
RUBY-199
stamhankar999 Apr 6, 2016
24b4341
Prep for 3.0.0 rc2
stamhankar999 Apr 11, 2016
c7438c8
Updated docs.yaml with sha for rc2.
stamhankar999 Apr 11, 2016
e3c462c
* Added master section to CHANGELOG for the next version.
stamhankar999 Apr 11, 2016
7c934fd
Add Indexes test to Rakefile
kishkaru Apr 11, 2016
6eac4ed
Bugfixes in indexes tests
kishkaru Apr 11, 2016
dac60a3
Merge pull request #158 from datastax/indexes_tests_fix
kishkaru Apr 11, 2016
f53b4b5
* Reverted change in cluster.rb where we factored out session creatio…
stamhankar999 Apr 18, 2016
bed9ac8
* Clarification of Result.next_page_async return value description.
stamhankar999 Apr 18, 2016
7061478
* Refactored Statement classes and session.execute_async to make it p…
stamhankar999 Apr 20, 2016
6c9c5c2
Updated docs.yaml, replacing 2.1.5 with 2.1.6 version
stamhankar999 Apr 22, 2016
e2cc9c7
RUBY-175 column names should be quoted when they are reserved words i…
stamhankar999 Apr 23, 2016
1611d54
Merge pull request #159 from datastax/RUBY-175
stamhankar999 Apr 25, 2016
1927994
RUBY-189 - Handle race condition where a host goes down at the same t…
stamhankar999 Apr 25, 2016
bb0f8e3
RUBY-189 - Handle race condition where a host goes down at the same t…
stamhankar999 Apr 25, 2016
75d48a9
RUBY-175
stamhankar999 Apr 25, 2016
e6e38fe
RUBY-189
stamhankar999 Apr 26, 2016
be8a5cb
RUBY-175
stamhankar999 Apr 26, 2016
fd2e832
Merge pull request #161 from datastax/RUBY-175
stamhankar999 Apr 26, 2016
6b24bb6
RUBY-189
stamhankar999 Apr 26, 2016
01f5477
Merge branch 'master' into RUBY-189
stamhankar999 Apr 26, 2016
2bf6e1b
Merge pull request #160 from datastax/RUBY-189
stamhankar999 Apr 26, 2016
fd31d92
RUBY-162 - Cluster.inspect and Session.inspect should show interestin…
stamhankar999 Apr 28, 2016
dd81b24
RUBY-212 - increase default request timeout from 10 seconds to 12 sec…
stamhankar999 Apr 28, 2016
53a100a
Merge pull request #162 from datastax/RUBY-162
stamhankar999 Apr 28, 2016
62145cd
RUBY-212 - increase default request timeout from 10 seconds to 12 sec…
stamhankar999 Apr 29, 2016
ae99b12
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
6addf0d
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
1305314
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
aae40b6
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
a69f29c
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
458d06c
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
ab06860
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 3, 2016
0e8ae03
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 4, 2016
33dca87
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 4, 2016
f141b37
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 4, 2016
907e47c
RUBY-214 - JRuby timestamps have millisecond precision and can cause …
stamhankar999 May 4, 2016
63889f9
Merge pull request #164 from datastax/RUBY-214
stamhankar999 May 4, 2016
62c1250
RUBY-207 - NoMethodError when handling write-timeout error
stamhankar999 May 4, 2016
1f26a3d
RUBY-211 - Default max-remote-hosts-to-use for DC Aware Round Robin l…
stamhankar999 May 4, 2016
c685636
Merge pull request #165 from datastax/RUBY-207
stamhankar999 May 5, 2016
9528012
Merge pull request #166 from datastax/RUBY-211
stamhankar999 May 5, 2016
c0fa388
RUBY-211 - Default max-remote-hosts-to-use for DC Aware Round Robin l…
stamhankar999 May 5, 2016
498e316
Merge branch 'master' into RUBY-212
stamhankar999 May 5, 2016
ebfa1e7
Merge pull request #163 from datastax/RUBY-212
stamhankar999 May 5, 2016
1da4ec0
RUBY-175 - escape reserved words
stamhankar999 May 10, 2016
6525437
RUBY-162 - cluster.inspect should return more useful info
stamhankar999 May 10, 2016
c684820
Merge pull request #168 from datastax/RUBY-175
stamhankar999 May 10, 2016
da5df0d
[RUBY-175] Integration tests for quoted identifiers
kishkaru May 10, 2016
ec46b91
RUBY-162 - cluster.inspect should return more useful info
stamhankar999 May 10, 2016
68a3146
Merge pull request #169 from datastax/175_tests
kishkaru May 10, 2016
170cf2e
RUBY-162 - cluster.inspect should return more useful info
stamhankar999 May 10, 2016
9500d4f
Merge pull request #167 from datastax/RUBY-162
stamhankar999 May 11, 2016
c718ab6
[RUBY-162] Integration tests for cluster, session inspect
kishkaru May 11, 2016
015e8a5
Merge pull request #170 from datastax/162_tests
kishkaru May 11, 2016
8887241
[RUBY-211] Integration tests and cucumber features for DCAwareRoundRo…
kishkaru May 12, 2016
63bb8ef
Merge pull request #171 from datastax/211_tests
kishkaru May 12, 2016
7c0c1b8
Minor doc tweaks for 3.0.
stamhankar999 May 18, 2016
11fc8d6
More minor doc tweaks for 3.0.
stamhankar999 May 18, 2016
df74ca2
* Fixed non-existent variable reference in connector.rb.
stamhankar999 May 23, 2016
0ef47aa
Prep for 3.0 GA release
stamhankar999 May 23, 2016
70cf649
Updated docs.yaml
stamhankar999 May 23, 2016
cc29ca8
Added new master section to CHANGELOG.
stamhankar999 May 23, 2016
7352be3
* Plumb through node host to authentication provider, as some authent…
stamhankar999 May 26, 2016
0b64ab0
Merge branch 'master' into 3.0.1
stamhankar999 May 27, 2016
1f65343
Merge pull request #173 from datastax/3.0.1
stamhankar999 May 29, 2016
a520f40
* Revert version number to 3.0.1.
stamhankar999 May 29, 2016
a84c724
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 2, 2016
000d54b
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 7, 2016
7089ad7
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 7, 2016
be5696d
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 7, 2016
468d634
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 8, 2016
8f60fea
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 8, 2016
00f9d4c
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 8, 2016
9d19fc8
RUBY-220 - Plumbing to support custom types: serializing and deserial…
stamhankar999 Jun 8, 2016
5e9aa43
RUBY-219 - SortedSet first-time initialization is unstable in a multi…
stamhankar999 Jun 9, 2016
f69fc39
Merge pull request #175 from datastax/RUBY-219
stamhankar999 Jun 9, 2016
132b983
RUBY-220
stamhankar999 Jun 13, 2016
487c242
Merge pull request #174 from datastax/RUBY-220
stamhankar999 Jun 14, 2016
82f756c
RUBY-231 - support explicitly specified nil timeout option
stamhankar999 Jun 15, 2016
1bb492d
Merge pull request #176 from datastax/RUBY-231
stamhankar999 Jun 16, 2016
6c64f6d
RUBY-233 - Only retry failed queries that are idempotent when there i…
stamhankar999 Jun 16, 2016
b7b6ecb
Merge pull request #177 from datastax/RUBY-233
stamhankar999 Jun 16, 2016
491a284
[RUBY-233] Integration tests for idempotent statement timeouts
kishkaru Jun 17, 2016
c09eeba
Merge pull request #178 from datastax/ruby-233_tests
kishkaru Jun 17, 2016
0ff2639
Fix client warning tests (CASSANDRA-10876)
kishkaru Jun 17, 2016
c32a8df
Merge pull request #179 from datastax/fix_client_warning_tests
kishkaru Jun 17, 2016
07951d3
Fix client warning feature (CASSANDRA-10876)
kishkaru Jun 17, 2016
3fc2f3d
Merge pull request #180 from datastax/fix_client_warning_feature
kishkaru Jun 17, 2016
d7236d5
Doc tweaks in preparation of 3.0.1 release.
stamhankar999 Jun 27, 2016
a0fa638
More doc tweaks
stamhankar999 Jun 27, 2016
645dd76
Updated docs.yaml for 3.0.1
stamhankar999 Jun 27, 2016
52715e0
Updated CHANGELOG to mention RUBY-220
stamhankar999 Jun 27, 2016
045fb63
Changed file references to point to files in 3.0.1 tag
stamhankar999 Jun 27, 2016
cfb16c0
Update docs.yaml to point to new 3.0.1 sha
stamhankar999 Jun 27, 2016
17bd577
Bump version to 3.0.2.
stamhankar999 Jun 27, 2016
654882d
Updated docs.yaml for 3.0.2
stamhankar999 Jun 27, 2016
139fdf5
Update CHANGELOG and README to set the stage for the next release of …
stamhankar999 Jun 27, 2016
c94a87e
RUBY-241 - Don't expose materialized view's with nil base-table's.
stamhankar999 Jul 9, 2016
66507c1
Merge pull request #181 from datastax/RUBY-241
stamhankar999 Jul 11, 2016
5bdb14b
DOC-1135 - Update custom payload doc ref to point to docs.datastax.com
stamhankar999 Jul 14, 2016
26e583c
Merge pull request #182 from datastax/DOC-1135
stamhankar999 Jul 14, 2016
1d2bce7
Updated version to 3.0.3.rc.1.
stamhankar999 Jul 15, 2016
510b794
Updated version to 3.0.3.rc.1.
stamhankar999 Jul 17, 2016
0c7dd95
RUBY-241 - MaterializedView base_table returns nil sometimes
stamhankar999 Jul 18, 2016
50603a7
Fixed Keyspace#has_materialized_view to always return a boolean.
stamhankar999 Jul 19, 2016
0e247f5
Merge pull request #183 from datastax/RUBY-241
stamhankar999 Jul 19, 2016
6ec356a
Bump version to 3.0.3, prepare for 3.0.3 release
stamhankar999 Jul 22, 2016
efdc717
Updated docs.yaml for 3.0.3
stamhankar999 Jul 22, 2016
7681623
Bumped version to 3.0.4.rc.1 as the "post-3.0.3" place-holder version.
stamhankar999 Jul 22, 2016
2276130
Update Gemfile.lock as part of bumping version to 3.0.4.rc.1
stamhankar999 Jul 22, 2016
1d24abe
Added top-level .nav file so that generated docs TOC has "Usage" befo…
stamhankar999 Aug 2, 2016
56978cf
RUBY-255 - Fix bug in peer_ip calculation. Fold in some extra cases t…
stamhankar999 Aug 26, 2016
eaf09bc
Merge pull request #187 from datastax/peer_ip_3.1
stamhankar999 Aug 26, 2016
e30ca0a
RUBY-255
stamhankar999 Aug 30, 2016
2bbd9f4
RUBY-255
stamhankar999 Aug 30, 2016
485e8c4
Merge pull request #189 from datastax/RUBY-255_3.1
stamhankar999 Aug 30, 2016
9c98bca
[RUBY-255] Tests for missing peer columns
kishkaru Aug 30, 2016
cbf9da0
Merge pull request #191 from datastax/ruby_255_tests_master
kishkaru Aug 30, 2016
6bc67ef
RUBY-187
stamhankar999 Aug 30, 2016
7e029d0
RUBY-187
stamhankar999 Aug 31, 2016
40d10b9
RUBY-187
stamhankar999 Aug 31, 2016
bb839ae
Merge pull request #192 from datastax/RUBY-187
stamhankar999 Sep 1, 2016
13876f4
Updated README to reference new location in docs.ds.
stamhankar999 Sep 2, 2016
34ba1c6
Updated docs.yaml to standardize on major.minor version names and red…
stamhankar999 Sep 2, 2016
c72cd55
Updated sha for latest 2.1 docs in docs.yaml
stamhankar999 Sep 2, 2016
a9b6bb5
Refinements to README, changing datastax.github.io refs to docs.ds, a…
stamhankar999 Sep 3, 2016
50efcfe
Updated docs.yaml with new sha's for 3.0 and 2.1 docs
stamhankar999 Sep 3, 2016
234001a
Updated docs.yaml 3.0 version to point to v3.0.3 tag
stamhankar999 Sep 3, 2016
bffe1d6
Refine docs.
stamhankar999 Sep 3, 2016
247a332
RUBY-164 - don't mark host down after receiving a host_down event if …
stamhankar999 Sep 12, 2016
370701b
Merge pull request #194 from datastax/RUBY-164
stamhankar999 Sep 13, 2016
4ccd95b
RUBY-164 - don't mark host down after receiving a host_down event if …
stamhankar999 Sep 14, 2016
3f31312
RUBY-164 - don't mark host down after receiving a host_down event if …
stamhankar999 Sep 14, 2016
7b302f8
[RUBY-187] Integration tests and cuke features for trigger meta
kishkaru Sep 14, 2016
e0b787c
Merge pull request #195 from datastax/ruby-187_tests
kishkaru Sep 14, 2016
a642aa8
Add schedules to CI
kishkaru Sep 21, 2016
f187a07
Merge pull request #196 from datastax/ci_schedules
kishkaru Sep 21, 2016
af234e1
RUBY-256: Execution profiles
stamhankar999 Sep 23, 2016
c10a10c
Merge branch 'master' into RUBY-256
stamhankar999 Sep 23, 2016
49a1fcf
RUBY-261 - Support cdc option in table metadata.
stamhankar999 Sep 24, 2016
4c6e38e
RUBY-256 - Execution profiles
stamhankar999 Sep 24, 2016
e2e8e9e
RUBY-256 - Execution profiles
stamhankar999 Sep 24, 2016
77bba60
Merge pull request #198 from datastax/RUBY-261
stamhankar999 Sep 26, 2016
a4cd54c
Remove C* 1.2 from CI tests
kishkaru Sep 26, 2016
f9e0513
RUBY-256 - Execution profiles
stamhankar999 Sep 29, 2016
c923308
RUBY-256 - Execution profiles
stamhankar999 Sep 30, 2016
7a4f56e
Merge pull request #197 from datastax/RUBY-256
stamhankar999 Sep 30, 2016
ed78bb0
RUBY-254 - beta protocol support
stamhankar999 Oct 1, 2016
810cf80
Merge pull request #199 from datastax/RUBY-254
stamhankar999 Oct 1, 2016
a3d6309
RUBY-257 - prepared-statement cache should not be host-scoped.
stamhankar999 Oct 3, 2016
76d3b7f
Upgrade CI to test against C* 3.9
kishkaru Oct 3, 2016
2daf0c6
Change to ProtocolError in session test
kishkaru Oct 3, 2016
5a6fcb5
RUBY-257 - prepared-statement cache should not be host-scoped.
stamhankar999 Oct 4, 2016
809b7ad
Merge pull request #200 from datastax/RUBY-257
stamhankar999 Oct 4, 2016
f7ebc74
RUBY-163 - Cucumber tests fail in JRuby9k after encountering non-Engl…
stamhankar999 Oct 5, 2016
cab2b9f
Merge pull request #201 from datastax/RUBY-163
kishkaru Oct 7, 2016
c3d9542
Swap JRuby 9k for JRuby 1.7 in per_commit CI build
kishkaru Oct 7, 2016
4550392
RUBY-250 - Expose various cluster attributes via getters in the api.
stamhankar999 Oct 11, 2016
63132d1
Merge pull request #202 from datastax/RUBY-250
stamhankar999 Oct 11, 2016
89e2e6f
RUBY-264 - Table erroneously reported as using compact storage
stamhankar999 Oct 12, 2016
1433876
Merge pull request #203 from datastax/RUBY-264
stamhankar999 Oct 12, 2016
4c1869b
RUBY-235 - execution_info.retries should be the total number of retri…
stamhankar999 Oct 12, 2016
f86255c
Merge pull request #204 from datastax/RUBY-235
stamhankar999 Oct 12, 2016
78a73cd
fixup a few ruby warnings
eprothro Oct 17, 2016
a171afb
Merge pull request #205 from rocketmobile/fix-warnings
avalanche123 Oct 17, 2016
0964511
fixup
eprothro Oct 18, 2016
924565e
Merge pull request #206 from rocketmobile/contributing-fixup
avalanche123 Oct 18, 2016
bee6603
RUBY-266 - expose execution profiles through cluster object
stamhankar999 Oct 18, 2016
78c483e
RUBY-266 - expose execution profiles through cluster object
stamhankar999 Oct 18, 2016
3aa55f1
RUBY-266 - expose execution profiles through cluster object
stamhankar999 Oct 18, 2016
7aea7af
Merge pull request #207 from datastax/RUBY-266
stamhankar999 Oct 18, 2016
9bc6bb8
[RUBY-250] Integration tests for cluster options retrieval
kishkaru Oct 21, 2016
d8360ec
Lint; mostly code reformatting
stamhankar999 Oct 21, 2016
b401e7a
Support C* 4.x.
stamhankar999 Oct 21, 2016
234fc37
RUBY-267 - Support iterating execution profiles.
stamhankar999 Oct 21, 2016
aec9f42
[RUBY-235] Integration tests for execution info retries
kishkaru Oct 21, 2016
8421a6b
Merge pull request #209 from datastax/RUBY-269
stamhankar999 Oct 22, 2016
ac831f8
Merge pull request #208 from datastax/ruby-250_tests
kishkaru Oct 22, 2016
53a9a1d
Merge pull request #210 from datastax/ruby-235_tests
kishkaru Oct 22, 2016
02b5b55
Added documentation around prepared statement id-caching.
stamhankar999 Oct 24, 2016
8bc43b8
Add debug output around sporadically failing idempotency integration …
stamhankar999 Oct 24, 2016
3505ee0
Merge pull request #211 from datastax/RUBY-267
stamhankar999 Oct 25, 2016
abe076e
[RUBY-257] Integration tests for prepared statement repreparing
kishkaru Oct 25, 2016
f805228
Merge pull request #212 from datastax/ruby-257_tests
kishkaru Oct 25, 2016
fad98f9
[RUBY-256] Integration tests and cucumber features for execution prof…
kishkaru Oct 25, 2016
3a571fa
Merge pull request #213 from datastax/ruby-256_tests
kishkaru Oct 26, 2016
5fdf81e
Improved error messages when request connections are created/closed.
stamhankar999 Oct 26, 2016
5d392ae
RUBY-272 - Different types of execution profiles should inherit defau…
stamhankar999 Oct 31, 2016
f9c9441
Merge pull request #214 from datastax/RUBY-272
stamhankar999 Oct 31, 2016
5512444
Refined documentation on execution profiles.
stamhankar999 Nov 1, 2016
d10c4ed
RUBY-276 - execution profile attributes should initially be :unspecified
stamhankar999 Nov 2, 2016
3e36f69
RUBY-276 - execution profile attributes should initially be :unspecified
stamhankar999 Nov 2, 2016
f24d031
RUBY-276 - execution profile attributes should initially be :unspecified
stamhankar999 Nov 2, 2016
b0473f9
Merge pull request #215 from datastax/RUBY-276
stamhankar999 Nov 3, 2016
dfb4eae
RUBY-277: Execution Profile improvements in core driver
stamhankar999 Nov 4, 2016
4cdc4cd
RUBY-277: Execution Profile improvements in core driver
stamhankar999 Nov 4, 2016
90d7283
Merge pull request #216 from datastax/RUBY-277
stamhankar999 Nov 4, 2016
a8093fe
RUBY-278 - Remove profile inheritance logic; use system defaults inst…
stamhankar999 Nov 5, 2016
4771356
Merge pull request #217 from datastax/RUBY-278
stamhankar999 Nov 7, 2016
cdc954d
[RUBY-277] Integration tests and cucumber features for execution prof…
kishkaru Nov 8, 2016
03b001a
Merge pull request #218 from datastax/ruby-277_tests
kishkaru Nov 8, 2016
16d32dc
Doc updates
stamhankar999 Nov 9, 2016
1e54ee1
Prep for 3.1.0 release.
stamhankar999 Nov 14, 2016
d52d778
Update docs.yaml to have an entry for 3.1 version of docs.
stamhankar999 Nov 14, 2016
bba48b7
* Added rewrite rule for removing "supplemental" url elements to docs…
stamhankar999 Nov 14, 2016
f7aa2f5
* Add a new section in CHANGELOG for the next version of the driver
stamhankar999 Nov 14, 2016
13ea1f2
Update Cassandra runtimes in build.yaml
kishkaru Dec 7, 2016
8ade71f
RUBY-292 replace failed connections to prevent ip for string errors
grosser Apr 12, 2017
9ca8f5f
RUBY-292 Replace failed connections to prevent ip for string errors
stamhankar999 Apr 13, 2017
b670411
Update CI
kishkaru Apr 25, 2017
9a356a5
Merge pull request #223 from datastax/update_ci
kishkaru Apr 25, 2017
b017d1d
RUBY-295 - Custom Address Resolution Feature fails
stamhankar999 May 9, 2017
caba821
RUBY-291 - Driver fails to connect to cluster when a table column typ…
stamhankar999 May 9, 2017
48c854c
RUBY-294 - Ruby 2.4 compatible integer type guessing
lautis May 10, 2017
1148dd4
RUBY-294 - Ruby 2.4 compatible integer type guessing
stamhankar999 May 10, 2017
37326c5
[RUBY-291] Integration tests for quoted UDTs
kishkaru May 11, 2017
85b5c04
Merge pull request #230 from datastax/ruby-291_tests
kishkaru May 11, 2017
7f04b30
Update README and CHANGELOG in preparation for 3.2.0 release.
stamhankar999 May 11, 2017
a242341
Update Copyright notices on all files.
stamhankar999 May 12, 2017
4087069
Update README and miscellaneous files in preparation of 3.2.0 release
stamhankar999 May 15, 2017
b8ee905
Reset miscellaneous files for a potential 3.2.1.rc.1 release
stamhankar999 May 15, 2017
3c2a98f
Fixed incorrect links in CHANGELOG.md
stamhankar999 May 15, 2017
849df28
Added disclaimer about running on big-endian systems
stamhankar999 Jul 25, 2017
2373515
remove custom message on options assertion (#232)
bdurand Jul 25, 2017
3db2bef
Fixed a typo in the 'features' README (#233)
unparalleled Sep 5, 2017
615cf39
wip: 3380@100i vs 3090@100i
eprothro Sep 20, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
/venv
/lib/cassandra_murmur3.*
/node_modules
/*.gem
/.bundle/*
2 changes: 2 additions & 0 deletions .nav
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
features
api
32 changes: 25 additions & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ inherit_from: .rubocop_todo.yml

#### The following group of customizations is questionable. ####

# We currently exclude types.rb and fetchers.rb because auto-correct results in an
# infinite loop in RuboCop.
AllCops:
TargetRubyVersion: 1.9
Exclude:
- 'lib/cassandra/types.rb'
- 'lib/cassandra/cluster/schema/fetchers.rb'
- 'spec/**/*'
- 'benchmarking/**/*'
- 'support/**/*'
- 'integration/**/*'
- 'features/**/*'
- 'tmp/**/*'

# We shouldn't rescue Exception!
Lint/RescueException:
Expand All @@ -25,26 +27,42 @@ Metrics/ModuleLength:
Metrics/ClassLength:
Enabled: false

Metrics/ParameterLists:
Enabled: false

Style/MultilineBlockLayout:
Enabled: false

Style/MultilineTernaryOperator:
Enabled: false

Style/PredicateName:
NamePrefixBlacklist: is_, have_
NameWhitelist: is_a?

Style/SingleLineBlockParams:
Enabled: false

Style/SignalException:
EnforcedStyle: only_raise

Style/TrivialAccessors:
Enabled: false

Lint/EndAlignment:
AutoCorrect: true

Style/IfUnlessModifier:
MaxLineLength: 90
MaxLineLength: 120

Style/RaiseArgs:
Enabled: false

Style/WhileUntilModifier:
MaxLineLength: 90
MaxLineLength: 120

Metrics/LineLength:
Max: 90
Max: 120
# To make it possible to copy or click on URIs in the code, we allow lines
# contaning a URI to be longer than Max.
AllowHeredoc: true
Expand Down
23 changes: 0 additions & 23 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,29 +190,6 @@ Style/OpMethod:
- 'lib/cassandra/protocol/requests/query_request.rb'
- 'lib/cassandra/protocol/responses/ready_response.rb'

# Offense count: 14
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'lib/cassandra/cluster/registry.rb'
- 'lib/cassandra/cluster/schema.rb'
- 'lib/cassandra/function.rb'
- 'lib/cassandra/keyspace.rb'
- 'lib/cassandra/load_balancing.rb'
- 'lib/cassandra/load_balancing/policies/dc_aware_round_robin.rb'
- 'lib/cassandra/load_balancing/policies/round_robin.rb'
- 'lib/cassandra/load_balancing/policies/token_aware.rb'
- 'lib/cassandra/table.rb'
- 'lib/cassandra/udt.rb'

# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, exploded
#Style/RaiseArgs:
# Enabled: false

# Offense count: 46
# Cop supports --auto-correct.
Expand Down
123 changes: 102 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,81 @@
# master

# 3.2.0

Features:
* [RUBY-294](https://datastax-oss.atlassian.net/browse/RUBY-294) Support MRI 2.4.x. Thanks, @lautis, for this contribution!

Bug Fixes:
* [RUBY-161] Protocol version negotiation in mixed version clusters should not fall back to v1 unless it is truly warranted.
* [RUBY-291](https://datastax-oss.atlassian.net/browse/RUBY-291) Driver fails to connect to cluster when a table column type has a quoted name.
* [RUBY-292](https://datastax-oss.atlassian.net/browse/RUBY-292) Driver sporadically crashes with "undefined method 'ip'" error.
Thanks, @grosser, for the fix!
* [RUBY-295](https://datastax-oss.atlassian.net/browse/RUBY-295) When a custom address resolver is configured,
consult it when handling all host events, and thus prevent the creation of invalid Host objects.

# 3.1.0
Features:
* Do not mark a host as down if there are active connections.
* Update Keyspace metadata to include collection of indexes defined in the keyspace.
* Update Table metadata to include trigger-collection and view-collection metadata. Also include the cdc attribute,
introduced in C* 3.8. More details [here.](http://cassandra.apache.org/doc/latest/operating/cdc.html)
* Added execution profiles to encapsulate a group of request execution options.
* Added support for v5 beta protocol. This will always be a "work-in-progress" since the protocol is under
development and the driver is not necessarily updated to the latest revision of it.
* Make prepared statement cache not be scoped by host and optimistically execute prepared statements on hosts where
we are not sure the statement is already prepared. The motivation is that in the steady state, all nodes have
prepared statements already, so there is no need to prepare statements before executing them. If the guess is wrong,
the client will prepare and execute at that point.
* Expose various cluster attributes with getters.

Bug Fixes:
* [RUBY-235](https://datastax-oss.atlassian.net/browse/RUBY-235) execution_info.retries resets retry count when switching hosts.
* [RUBY-255](https://datastax-oss.atlassian.net/browse/RUBY-255) ControlConnection.peer_ip ignores peers that are missing critical information in system.peers.
* [RUBY-264](https://datastax-oss.atlassian.net/browse/RUBY-264) Table erroneously reported as using compact storage.

# 3.0.3

Bug Fixes:
* [RUBY-241](https://datastax-oss.atlassian.net/browse/RUBY-241) Materialied views sometimes have nil ref to base-table.

# 3.0.2

Bug Fixes:
* [RUBY-219](https://datastax-oss.atlassian.net/browse/RUBY-219) Sometimes get stack trace in metadata.rb due to failure in SortedSet initialization.
* [RUBY-220](https://datastax-oss.atlassian.net/browse/RUBY-220) Improve support for custom types.
* [RUBY-231](https://datastax-oss.atlassian.net/browse/RUBY-231) Driver ignores explicitly specified nil timeout (to indicate no time limit on query execution).
* [RUBY-233](https://datastax-oss.atlassian.net/browse/RUBY-233) Client timeout errors are retried for non-idempotent statements.

# 3.0.0 GA
Features:
* Increased default request timeout (the `timeout` option to `Cassandra.cluster`), from 10 seconds to 12 seconds
because C* defaults to a 10 second timeout internally. The extra two seconds is buffer so that the client can
report the timeout in the server. This is also consistent with the Java driver.
* Expand :client_timestamps cluster configuration option to allow user to specify his own generator for client timestamps.

Bug Fixes:
* [RUBY-207](https://datastax-oss.atlassian.net/browse/RUBY-207) Get NoMethodError when handling a write-timeout error using a downgrading consistency retry policy.
* [RUBY-214](https://datastax-oss.atlassian.net/browse/RUBY-214) Client timestamps in JRuby are not fine-grained enough, causing timestamp collisions and lost rows in C*.

Breaking Changes:
* The Datacenter-aware load balancing policy (Cassandra::LoadBalancing::Policies::DCAwareRoundRobin) defaults to using
nodes in the local DC only. In prior releases, the policy would fall back to remote nodes after exhausting local nodes.
Specify a positive value (or nil for unlimited) for `max_remote_hosts_to_use` when initializing the policy to allow remote node use.

# 3.0.0 rc2
Features:
* Add protocol_version configuration option to allow the user to force the protocol version to use for communication with nodes.
* Expose listen_address and broadcast_address in `Cassandra::Host` if available.
* Add support for materialized views in the schema metadata.
* Add support for Cassandra indexes in the schema metadata.
* Add or expose the id, options, keyspace, partition_key, clustering_columns, and clustering_order attributes to table and view schema objects.
* Add crc_check_chance and extensions attributes to ColumnContainer options.
* Make cluster configuration options list publicly available. (Thanks, Evan Prothro!)

Bug Fixes:
* [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.
* [RUBY-180](https://datastax-oss.atlassian.net/browse/RUBY-180) Column ordering is not deterministic in Table metadata.
* [RUBY-185](https://datastax-oss.atlassian.net/browse/RUBY-185) Internal columns in static-compact and dense tables should be ignored.
* [RUBY-186](https://datastax-oss.atlassian.net/browse/RUBY-186) Custom type column metadata should be parsed properly for C* 3.x schemas.

# 3.0.0 rc1

Expand All @@ -13,9 +84,9 @@ Features:
* Add Cassandra::Logger class to make it easy for users to enable debug logging in the client.

Bug Fixes:
* [RUBY-154] Improve batch request performance, which had regressed in 3.0.0 beta1.
* [RUBY-155] Request timeout timer should not include request queuing time.
* [RUBY-156] Do not drop response frames that follow a frame containing a warning.
* [RUBY-154](https://datastax-oss.atlassian.net/browse/RUBY-154) Improve batch request performance, which had regressed in 3.0.0 beta1.
* [RUBY-155](https://datastax-oss.atlassian.net/browse/RUBY-155) Request timeout timer should not include request queuing time.
* [RUBY-156](https://datastax-oss.atlassian.net/browse/RUBY-156) Do not drop response frames that follow a frame containing a warning.

# 3.0.0 beta1

Expand All @@ -35,10 +106,10 @@ Features:

Bug Fixes:

* [RUBY-143] Retry querying system table for metadata of new hosts when prior attempts fail, ultimately enabling use of new hosts.
* [RUBY-150] Fixed a protocol decoding error that occurred when multiple messages are available in a stream.
* [RUBY-151] Decode incomplete UDTs properly.
* [RUBY-120] Tuples and UDTs can be used in sets and hash keys.
* [RUBY-143](https://datastax-oss.atlassian.net/browse/RUBY-143) Retry querying system table for metadata of new hosts when prior attempts fail, ultimately enabling use of new hosts.
* [RUBY-150](https://datastax-oss.atlassian.net/browse/RUBY-150) Fixed a protocol decoding error that occurred when multiple messages are available in a stream.
* [RUBY-151](https://datastax-oss.atlassian.net/browse/RUBY-151) Decode incomplete UDTs properly.
* [RUBY-120](https://datastax-oss.atlassian.net/browse/RUBY-120) Tuples and UDTs can be used in sets and hash keys.

Breaking Changes:

Expand All @@ -48,6 +119,16 @@ Breaking Changes:
* Unavailable errors are retried on the next host in the load balancing plan by default.
* Statement execution no longer retried on timeouts, unless `:idempotent => true` has been specified when executing.

# 2.1.7
Bug Fixes:
* [RUBY-255](https://datastax-oss.atlassian.net/browse/RUBY-255) ControlConnection.peer_ip ignores peers that are missing critical information in system.peers.

# 2.1.6
Bug Fixes:

* [RUBY-202](https://datastax-oss.atlassian.net/browse/RUBY-202) Allow password authenticator to be used for LDAP authentication. This is actually a backport of
RUBY-169 for the 3.0.0 release.

# 2.1.5

Features:
Expand All @@ -56,25 +137,25 @@ Features:

Bug Fixes:

* [RUBY-128] Fix decoding of large values in maps, sets and lists.
* [RUBY-128](https://datastax-oss.atlassian.net/browse/RUBY-128) Fix decoding of large values in maps, sets and lists.

# 2.1.4

Features:

* [RUBY-119] Use `require 'datastax/cassandra'` to avoid namespace conflicts
* [RUBY-90] Add support for disabling nagle algorithm (tcp nodelay), enabled by default.
* [RUBY-70] Add support for client-side timestamps, disabled by default.
* [RUBY-114] Add support for serial consistency in batch requests.
* [RUBY-90](https://datastax-oss.atlassian.net/browse/RUBY-90) Add support for disabling nagle algorithm (tcp nodelay), enabled by default.
* [RUBY-70](https://datastax-oss.atlassian.net/browse/RUBY-70) Add support for client-side timestamps, disabled by default.
* [RUBY-114](https://datastax-oss.atlassian.net/browse/RUBY-114) Add support for serial consistency in batch requests.

Bug Fixes:

* [RUBY-103] Don't regenerate schema metadata for the same replication
* [RUBY-103](https://datastax-oss.atlassian.net/browse/RUBY-103) Don't regenerate schema metadata for the same replication
strategies and options
* [RUBY-102] Allow custom types in schema metadata
* [RUBY-97] Allow disabling of the initial population of schema metadata
* [RUBY-95] Speed up generation of large token maps
* [RUBY-116] fix thread leak on connection error
* [RUBY-102](https://datastax-oss.atlassian.net/browse/RUBY-102) Allow custom types in schema metadata
* [RUBY-97](https://datastax-oss.atlassian.net/browse/RUBY-97) Allow disabling of the initial population of schema metadata
* [RUBY-95](https://datastax-oss.atlassian.net/browse/RUBY-95) Speed up generation of large token maps
* [RUBY-116](https://datastax-oss.atlassian.net/browse/RUBY-116) fix thread leak on connection error
* [RUBY-119](https://datastax-oss.atlassian.net/browse/RUBY-119) Use `require 'datastax/cassandra'` to avoid namespace conflicts

Breaking Changes:

Expand All @@ -93,7 +174,7 @@ Release removing accidental debug code from 2.1.1.

Bug Fixes:

* [RUBY-98] Use of undefined class variable in `Table#create_partition_key`
* [RUBY-98](https://datastax-oss.atlassian.net/browse/RUBY-98) Use of undefined class variable in `Table#create_partition_key`

# 2.1.0

Expand All @@ -111,13 +192,13 @@ Breaking Changes:

Bug Fixes:

* [RUBY-93] Reconnection can overflow the stack
* [RUBY-93](https://datastax-oss.atlassian.net/browse/RUBY-93) Reconnection can overflow the stack

# 2.0.1

Bug Fixes:

* [RUBY-87] Decoder corrupts incomplete response buffer
* [RUBY-87](https://datastax-oss.atlassian.net/browse/RUBY-87) Decoder corrupts incomplete response buffer

# 2.0.0

Expand Down
28 changes: 20 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,30 @@
All code has bugs, but if you report them they can be squashed.

The best bug reports include everything that is needed to reliably reproduce the bug.

### Running the Test Suite

Try to write a test case and include it in your report (have a look at the
[regression test suite](spec/integration/regression_spec.rb) if you need inspiration).
Submit defect reports to our [Jira](https://datastax-oss.atlassian.net/projects/RUBY/issues).
[regression test suite](spec/regressions) if you need inspiration).

1. Bundle with `bundle install`
1. Run the unit test suite with `rake rspec`
* Using this rake task will install necessary ruby extensions as a prerequisite
* For `bundle exec rspec` to be successful, run `bundle exec rake compile` once, beforehand

If it's not possible to write a test case, for example because the bug only happens in
very particular circumstances, or is not deterministic, make sure you include as much
information as you can about the situation. The version of the ruby driver is an absolute
must, the version of Ruby and Cassandra are also very important. If there is a stack trace
from the error make sure to include that (unfortunately the asynchronous nature of the
ruby driver means that the stack traces are not always as revealing as they could be).
very particular circumstances, or is not deterministic, please still report the bug!

### Opening a ticket

Submit defect reports to our [Jira](https://datastax-oss.atlassian.net/projects/RUBY/issues). Include:

* The `cassandra-driver` version (`bundle show cassandra-driver | sed 's/.*\///'`)
* The Ruby version (`ruby -v`)
* The Cassandra version (2nd line printed when running `cqlsh`)
* A stack trace from the error, if there is one

##Pull Requests
## Pull Requests

If you're able to fix a bug yourself, you can
[fork the repository](https://help.github.com/articles/fork-a-repo/) and submit a
Expand Down
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ source 'https://rubygems.org/'

gemspec

gem 'snappy', :group => [:development, :test]
gem 'lz4-ruby', :group => [:development, :test]
gem 'rake-compiler', :group => [:development, :test]
gem 'cliver', :group => [:development, :test]
gem 'snappy', group: [:development, :test]
gem 'lz4-ruby', group: [:development, :test]
gem 'rake-compiler', group: [:development, :test]
gem 'cliver', group: [:development, :test]

group :development do
platforms :mri_19 do
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
cassandra-driver (3.0.0.rc.1)
cassandra-driver (3.2.1.rc.1)
ione (~> 1.2)

GEM
Expand Down Expand Up @@ -40,9 +40,9 @@ GEM
ffi (1.9.10)
ffi (1.9.10-java)
gherkin (3.2.0)
ione (1.2.3)
json (1.8.3)
json (1.8.3-java)
ione (1.2.4)
json (1.8.6)
json (1.8.6-java)
lz4-ruby (0.3.3)
lz4-ruby (0.3.3-java)
minitest (4.7.5)
Expand Down Expand Up @@ -121,4 +121,4 @@ DEPENDENCIES
yard

BUNDLED WITH
1.11.2
1.14.6
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2013-2016 DataStax, Inc.
Copyright 2013-2017 DataStax, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading