Fix log level when starting a raft node (#29459)

This commit is contained in:
miagilepner 2025-01-30 11:46:55 +01:00 committed by GitHub
parent 39bce9fde3
commit 46ee2d0024
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -617,7 +617,7 @@ func NewRaftBackend(conf map[string]string, logger log.Logger) (physical.Backend
isRemoved := new(atomic.Bool)
removedVal, err := stableStore.GetUint64(removedKey)
if err != nil {
logger.Error("error checking if this node is removed. continuing under the assumption that it's not", "error", err)
logger.Debug("error checking if this node is removed. continuing under the assumption that it's not", "error", err)
}
if removedVal == 1 {
isRemoved.Store(true)