diff --git a/CHANGELOG.md b/CHANGELOG.md index 7755ce9b9..258e6cef2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - (Improvement) ArangoDB image validation (=>3.10) for ARM64 architecture - (Improvement) Use inspector for ArangoMember - (DebugPackage) Collect logs from pods +- (Bugfix) Move Agency CommitIndex log message to Trace ## [1.2.20](https://github.com/arangodb/kube-arangodb/tree/1.2.20) (2022-10-25) - (Feature) Add action progress diff --git a/pkg/deployment/agency/cache.go b/pkg/deployment/agency/cache.go index 1df35b30c..ce55ef94e 100644 --- a/pkg/deployment/agency/cache.go +++ b/pkg/deployment/agency/cache.go @@ -336,12 +336,14 @@ func (c *cache) getLeader(ctx context.Context, size int, clients map[string]agen } } } + if err := h.Serving(); err != nil { c.log.Err(err).Warn("Agency Not serving") return nil, nil, h, err } + if err := h.Healthy(); err != nil { - c.log.Err(err).Debug("Agency Not healthy") + c.log.Err(err).Trace("Agency Not healthy") } for id := range names {