Releases: thibaultcha/lua-cassandra
Releases · thibaultcha/lua-cassandra
1.5.2
Released on: 2022/05/20
Fixed
- Improve DC-aware LB policies robustness.
#147
- Ensure request-aware + DC-aware LB policy prioritizes local peers over remote
ones.
1.5.0
Released on: 2019/09/25
Added
- The
cluster:refresh()
method is now safe to be called at runtime,
allowing cluster topology changes (added or removed nodes) to be taken into
consideration.
#134
- The
cluster:refresh()
method now accepts an optional timeout
argument,
and returns the topology changes (if any).
#134
1.4.0
Changed
- Improve
host still considered down
error logs to include the error causing
each node to be considered as "DOWN", as well as the duration for which it
will still be considered "DOWN".
#129
1.3.4
Changed
- Do not log the "rpc_address set to 0.0.0.0" warning when
opts.silent
is on.
#126
1.3.3
Added
- Support for binary CQL frames with custom payload.
#119
Fixed
- Favor the
rpc_address
value to connect to the provided contact
points.
#122
1.3.2
Fixed
- Environments with DNS load-balancing in effect for
contact_points
provided
as hostnames (e.g. Kubernetes with contact_points = { "cassandra" }
) could
result in no host details for <peer IP>
errors when using multiple
instances of the Cluster module. This is now fixed.
#118
1.3.1
Fixed
- The new request-aware load-balancing policies can now be used in the
init_by_lua* context when using the lua-resty-core module (only applies
to OpenResty environments).
#117
1.3.0
Added
- New request-aware load-balancing policy for OpenResty environments.
- New request-aware + datacenter-aware load-balancing policy for OpenResty
environments. Thanks @kikito for the patch!
#114
1.2.3
- Expose the
check_schema_consensus
method from the Cluster module
wait_schema_consensus
now accepts a new timeout
argument to override max_schema_consensus_wait
1.2.2
Added
- New
cafile
option for the Cluster module. This allows supporting SSL
connections to Cassandra clusters when lua-cassandra is used in contexts
that do not support cosockets, and fallback on LuaSocket.
#95