Skip to content

DataStax Ruby Driver 3.1.0

Compare
Choose a tag to compare
@stamhankar999 stamhankar999 released this 14 Nov 18:34
· 90 commits to master since this release

Apache Cassandra 2.2 and 3.x compatible release

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.
  • 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 execution_info.retries resets retry count when switching hosts.
  • RUBY-255 ControlConnection.peer_ip ignores peers that are missing critical information in system.peers.
  • RUBY-264 Table erroneously reported as using compact storage.