From d6d39f162a9c2fa82ee28a597d04c71374e0dac0 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Fri, 26 Jul 2024 12:38:21 +0200 Subject: [PATCH] Adding a TODO --- cluster/cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/cluster.go b/cluster/cluster.go index 13848bae..590b8c06 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -648,6 +648,7 @@ func (c *cluster) Shutdown() error { c.raft.Shutdown() } + // TODO: here might some situations, where the manager is still need from the synchronize loop and will run into a panic c.manager = nil c.raft = nil