keep instance in the ring on shutdown (#108609)
This commit is contained in:
1 parent
227a33fadd
commit
183cd0843e
1 file changed
+2
@@ -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