From 30b76d053660f6efc1475f253df2735188ab4c8a Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Mon, 18 Jan 2016 16:19:55 -0800 Subject: [PATCH] fix(migrations) avoid preparing queries on migrations --- kong/dao/cassandra/factory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/dao/cassandra/factory.lua b/kong/dao/cassandra/factory.lua index 65ea48e5328c..e801c097b9bd 100644 --- a/kong/dao/cassandra/factory.lua +++ b/kong/dao/cassandra/factory.lua @@ -135,7 +135,7 @@ end -- @return {table} error if any function CassandraFactory:execute_queries(queries, no_keyspace) local options = self:get_session_options() - options.query_options.same_coordinator = true + options.query_options.prepare = false if no_keyspace then options.keyspace = nil