keep instance in the ring on shutdown (#108609)

This commit is contained in:
Will Assis authored and GitHub committed 2025-07-24 15:39:12 -04:00
1 parent 227a33fadd
commit 183cd0843e
1 file changed
+2
+2
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)
}