mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 05:08:36 +08:00
keep instance in the ring on shutdown (#108609)
This commit is contained in:
@ -155,6 +155,8 @@ func ProvideUnifiedStorageGrpcService(
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to initialize storage-ring lifecycler: %s", err)
|
||||
}
|
||||
|
||||
s.ringLifecycler.SetKeepInstanceInTheRingOnShutdown(true)
|
||||
subservices = append(subservices, s.ringLifecycler)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user