Skip to content

Run all CoordinatedShutdown phases on Cluster downing #24048

@patriknw

Description

@patriknw

I see no good reason for only performing the later phases (PhaseClusterShutdown) when downing a node. The tasks for graceful stopping singleton and sharding can be skipped when in downing state.

coordShutdown.run(Some(CoordinatedShutdown.PhaseClusterShutdown))

This makes it easier to perform tasks for earlier phases (e.g. service unbind) also when downing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions