8000 [Bugfix] Skip arangosync members state inspection checks (#968) · sharekey/kube-arangodb@bfd1a6a · GitHub
[go: up one dir, main page]

Skip to content

Commit bfd1a6a

Browse files
[Bugfix] Skip arangosync members state inspection checks (arangodb#968)
1 parent 4b7ca01 commit bfd1a6a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [master](h 8000 ttps://github.com/arangodb/kube-arangodb/tree/master) (N/A)
44
- (Bugfix) Orphan PVC are not removed
55
- (Bugfix) Remove LocalStorage Deadlock
6+
- (Bugfix) Skip arangosync members state inspection checks
67

78
## [1.2.10](https://github.com/arangodb/kube-arangodb/tree/1.2.10) (2022-04-27)
89
- (Feature) Allow configuration for securityContext.runAsUser value

pkg/deployment/member/state.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ import (
2424
"context"
2525
"sync"
2626

27+
"github.com/rs/zerolog"
28+
2729
"github.com/arangodb/go-driver"
2830
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
2931
"github.com/arangodb/kube-arangodb/pkg/deployment/reconciler"
3032
"github.com/arangodb/kube-arangodb/pkg/util/globals"
31-
"github.com/rs/zerolog"
3233
)
3334

3435
type StateInspectorGetter interface {
@@ -93,6 +94,10 @@ func (s *stateInspector) RefreshState(ctx context.Context, members api.Deploymen
9394
defer cancel()
9495

9596
members.ForEach(func(id int) {
97+
if members[id].Group.IsArangosync() {
98+
return
99+
}
100+
96101
results[id] = State{}
97102

98103
c, err := s.client.GetServerClient(nctx, members[id].Group, members[id].Member.ID)

0 commit comments

Comments
 (0)
0