thibaultcha / lua-cassandra

Pure Lua driver for Apache Cassandra
https://thibaultcha.github.io/lua-cassandra
Other
98 stars 35 forks source link

fix(cassandra) kong refueses to start when a node in `contact_points` is down #147

Closed outsinre closed 2 years ago

outsinre commented 2 years ago

fix(cassandra) kong refueses to start when a node in contact_points is down

Instead of error(...), use warn(...) to let kong start. Kong will rediscover the down nodes once they are up.

The partner kong-ee PR: https://github.com/Kong/kong-ee/pull/3192

outsinre commented 2 years ago

@thibaultcha, really appreciate your review. I learned a lot from that. I just update the code according to your suggestions. Would you mind verifying it if available?