Skip to content

Restarting dgraph fails if tried within 10 seconds of stopping it #1613

@pawanrawal

Description

@pawanrawal

This is the error message it gets from dgraphzero

2017/10/10 02:04:18 groups.go:109: Error while connecting with group zero: rpc error: code = Unknown desc = Node is already part of group

Its because dgraphzero does a health check every 10 seconds to dgraph nodes. So since the dgraph node was restarted before 10 seconds, dgraphzero thinks the old node still exists and hence the error.

We should fix this, either by storing the id in the dgraph nodes or by some other mechanism.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions