You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
the reason is that when we close metrictank, and we call store.Close() we only close the cassandra session, we should also:
stop the api server, or at least the render endpoint so that no more cass queries are being generated
wait for pending read queries to complete (maybe with a timeout)
stop accepting new write requests
wait for the write queue to drain (perhaps also with a tuneable timeout). making sure that after we stop sending writes to cassandra, we also cleanly submit the last metricpersist messages.
only then close the cassandra session
Dieterbe
changed the title
cassandra errors ~ bad synchronisation around session close
cassandraStore improper shutdown flow
Jan 23, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
saw this when shutting down a prod MT:
The text was updated successfully, but these errors were encountered: