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