My main dgraph node is in a crash loop with the following log output:
++ hostname -f
+ dgraph server --my=dgraph-0.dgraph.default.svc.cluster.local:7080 --lru_mb 5000 --zero dgraph-0.dgraph.default.svc.cluster.local:5080
2018/05/10 18:41:55 groups.go:88: Current Raft Id: 1
2018/05/10 18:41:55 gRPC server started. Listening on port 9080
2018/05/10 18:41:55 HTTP server started. Listening on port 8080
2018/05/10 18:41:55 worker.go:99: Worker listening at address: [::]:7080
2018/05/10 18:41:55 pool.go:108: == CONNECT ==> Setting dgraph-0.dgraph.default.svc.cluster.local:5080
2018/05/10 18:41:55 groups.go:115: Connected to group zero. Assigned group: 0
2018/05/10 18:41:55 pool.go:108: == CONNECT ==> Setting dgraph-1.dgraph.default.svc.cluster.local:7080
2018/05/10 18:41:55 pool.go:108: == CONNECT ==> Setting dgraph-2.dgraph.default.svc.cluster.local:7080
2018/05/10 18:41:55 pool.go:108: == CONNECT ==> Setting dgraph-2.dgraph.default.svc.cluster.local:5080
2018/05/10 18:41:55 pool.go:108: == CONNECT ==> Setting dgraph-1.dgraph.default.svc.cluster.local:5080
2018/05/10 18:41:55 draft.go:180: Node ID: 1 with GroupID: 1
2018/05/10 18:41:55 node.go:213: Found Snapshot, Metadata: {ConfState:{Nodes:[1 2 3] XXX_unrecognized:[]} Index:104 Term:424 XXX_unrecognized:[]}
2018/05/10 18:41:55 node.go:228: Found hardstate: {Term:28861 Vote:2 Commit:1962 XXX_unrecognized:[]}
2018/05/10 18:41:55 node.go:240: Group 1 found 1858 entries
2018/05/10 18:41:55 draft.go:936: Restarting node for group: 1
2018/05/10 18:41:55 raft.go:567: INFO: 1 became follower at term 28861
2018/05/10 18:41:55 raft.go:315: INFO: newRaft 1 [peers: [1,2,3], term: 28861, commit: 1962, applied: 104, lastindex: 1962, lastterm: 28861]
2018/05/10 18:41:56 unexpected meta: 0
github.com/dgraph-io/dgraph/x.Fatalf
/home/travis/gopath/src/github.com/dgraph-io/dgraph/x/error.go:100
github.com/dgraph-io/dgraph/posting.ReadPostingList
/home/travis/gopath/src/github.com/dgraph-io/dgraph/posting/mvcc.go:423
github.com/dgraph-io/dgraph/posting.getNew
/home/travis/gopath/src/github.com/dgraph-io/dgraph/posting/mvcc.go:463
github.com/dgraph-io/dgraph/posting.Get
/home/travis/gopath/src/github.com/dgraph-io/dgraph/posting/lists.go:243
github.com/dgraph-io/dgraph/worker.runMutation
/home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/mutation.go:79
github.com/dgraph-io/dgraph/worker.(*node).processMutation
/home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/draft.go:342
github.com/dgraph-io/dgraph/worker.(*scheduler).processTasks
/home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/scheduler.go:65
runtime.goexit
/home/travis/.gimme/versions/go1.9.4.linux.amd64/src/runtime/asm_amd64.s:2337
I’m wondering if this issue has resurfaced. I am running 1.0.5.
I see this github issue dgraph server got: "unexpected meta: 0" · Issue #2102 · dgraph-io/dgraph · GitHub which is closed. And also there is this thread which is closed as well Dgraph runs into a error loop and freezes the host
Now I have not tried downgrading the cluster yet. Also previous discussions have talked about it being related to a query to schema, I’m not sure how I would figure out what part of the schema is causing it.