Columnar: Review cluster shutdown behavior
Description
Environment
None
Release Notes Description
None
relates
Activity
Show:
Dimitris Christodoulou August 19, 2024 at 2:37 PM
Created tickets: and
Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Dimitris Christodoulou
Dimitris ChristodoulouReporter
Dimitris Christodoulou
Dimitris ChristodoulouSprint
None
Story Points
3
Components
Priority
Instabug
Open Instabug
Sentry
Linked Issues
Sentry
Linked Issues
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created August 6, 2024 at 3:59 PM
Updated August 19, 2024 at 2:38 PM
Resolved August 19, 2024 at 2:38 PM
Instabug
The RFC has the requirement of handling shutdown gracefully - at the moment the core only has support for ShutDownNow. Review that behavior, and explore the possibility of adding support for ShutDown with a grace period.
ShutDown(gracePeriod: Duration)
Shuts down the topology tracker / disconnects from all KV nodes.
Future requests fail with an idiomatic “cluster is already shut down” error.
Waits for all in-flight requests to complete or for the grace period to elapse, whichever comes first.
Any remaining in-flight requests fail with an idiomatic “operation canceled due to shutdown” error.
ShutDownNow()
Equivalent to ShutDown(Duration.ZERO)