update cassandra gem to enable support for 1.2/2.0
fixes CNVS-7877 Change-Id: I196c6b7dbdfbec199397a4be9ad6c701f65d4463 Reviewed-on: https://gerrit.instructure.com/25449 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Brian Palmer <brianp@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com> QA-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
parent
9cff91dcac
commit
ee1c6d2f3d
2
Gemfile
2
Gemfile
|
@ -170,7 +170,7 @@ group :redis do
|
|||
end
|
||||
|
||||
group :cassandra do
|
||||
gem 'cassandra-cql', '1.1.5'
|
||||
gem 'cassandra-cql', '1.2.1', git: 'https://github.com/kreynolds/cassandra-cql',ref: 'd100be075b04153cf4116da7512892a1e8c0a7e4'
|
||||
end
|
||||
|
||||
group :embedly do
|
||||
|
|
|
@ -53,11 +53,6 @@ module Canvas::Cassandra
|
|||
|
||||
def initialize(cluster_name, environment, servers, opts, thrift_opts)
|
||||
Bundler.require 'cassandra'
|
||||
CassandraCQL::Database.class_eval do
|
||||
def use_cql3?
|
||||
false
|
||||
end
|
||||
end
|
||||
@db = CassandraCQL::Database.new(servers, opts, thrift_opts)
|
||||
@cluster_name = cluster_name
|
||||
@environment = environment
|
||||
|
|
Loading…
Reference in New Issue