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.
Try to write a test case and include it in your report (have a look at the regression test suite if you need inspiration).
- Bundle with
bundle install
- 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, runbundle 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, please still report the bug!
Submit defect reports to our Jira. 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
If you're able to fix a bug yourself, you can fork the repository and submit a Pull Request with the fix.
Please create a ticket in Jira first, and reference the ticket in your pull request description.
To protect the community, all contributors are required to sign the DataStax Contribution License Agreement. The process is completely electronic and should only take a few minutes.