Skip to content

Commit

Permalink
chore(deps) bump lua-cassandra to 1.2.1
Browse files Browse the repository at this point in the history
This ensures we update the Nginx time between schema consensus timeout
checks and also adds the ability to manually add and remove C* peers.

thibaultcha/lua-cassandra@1.1.1...1.2.1
  • Loading branch information
thibaultcha committed Apr 6, 2017
1 parent 3fd71f4 commit ddeea29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kong-0.10.1-0.rockspec
Expand Up @@ -20,7 +20,7 @@ dependencies = {
"multipart == 0.5",
"version == 0.2",
"lapis == 1.5.1",
"lua-cassandra == 1.1.1",
"lua-cassandra == 1.2.1",
"pgmoon-mashape == 2.0.1",
"luatz == 0.3",
"lua_system_constants == 0.1.1",
Expand Down
2 changes: 1 addition & 1 deletion kong/dao/db/cassandra.lua
Expand Up @@ -397,7 +397,7 @@ function _M:find_all(table_name, tbl, schema)
-- before performing such a DML query
local ok, err = self:wait_for_schema_consensus()
if not ok then
return nil, "could not wait for schema consensus: " .. err
return nil, "failed waiting for schema consensus: " .. err
end

iter = coordinator.page_iterator
Expand Down
2 changes: 1 addition & 1 deletion kong/dao/factory.lua
Expand Up @@ -306,7 +306,7 @@ function _M:run_migrations(on_migrate, on_success)
local ok, err = self.db:wait_for_schema_consensus()
if not ok then
return ret_error_string(self.db.name, nil,
"could not wait for schema consensus: " .. err)
"failed waiting for schema consensus: " .. err)
end
end

Expand Down

0 comments on commit ddeea29

Please sign in to comment.