go-graphite / graphite-clickhouse

Graphite cluster backend with ClickHouse support
MIT License
213 stars 52 forks source link

refactor: change returned status code and description in clickhouse error handling #286

Closed AleksandrMatsko closed 2 months ago

AleksandrMatsko commented 2 months ago

Before this PR if graphite-clickhouse receives error from clickhouse it returns 500: Storage error on default. This PR is changing the default value to 503: Storage unavailable.

Also one more case in clickhouse error handling added.

And the default version for carbon-clickhouse is changed to latest in e2e tests.