keep instance in the ring on shutdown (#108609)

This commit is contained in:
Will Assis
2025-07-24 15:39:12 -04:00
committed by GitHub
parent 227a33fadd
commit 183cd0843e

View File

@ -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)
}