Missing Log Entry

Hi All,

I am trying to do bulk mutation with total RDF around 15 millions using 0.82 Dgraph. But this panic prevent me from completing the mutation. This panic appearing after the Dgraph restarting.

raft2017/09/22 11:32:28 missing log entry [last: 67078, append at: 72037]
panic: missing log entry [last: 67078, append at: 72037]

goroutine 2994 [running]:
log.(*Logger).Panicf(0xc4201ca230, 0xdb9a11, 0x2b, 0xc473742000, 0x2, 0x2)
        /home/travis/.gimme/versions/go1.9.linux.amd64/src/log/log.go:223 +0xdb
github.com/dgraph-io/dgraph/vendor/github.com/coreos/etcd/raft.(*DefaultLogger).Panicf(0x14b1410, 0xdb9a11, 0x2b, 0xc473742000, 0x2, 0x2)
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/vendor/github.com/coreos/etcd/raft/logger.go:121 +0x60
github.com/dgraph-io/dgraph/vendor/github.com/coreos/etcd/raft.(*MemoryStorage).Append(0xc429ab4380, 0xc469918000, 0x12a9, 0x138e, 0x0, 0x0)
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/vendor/github.com/coreos/etcd/raft/storage.go:267 +0x641
github.com/dgraph-io/dgraph/worker.(*node).initFromWal(0xc454cea000, 0xc4547e38d0, 0x14c06c0, 0x14c06c0, 0x14c06d0)
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/draft.go:1102 +0x50a
github.com/dgraph-io/dgraph/worker.(*node).InitAndStartNode(0xc454cea000, 0xc4547e38d0)
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/draft.go:1108 +0x4f
github.com/dgraph-io/dgraph/worker.StartRaftNodes.func2(0xc4547eec20, 0xc454cea000)
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/groups.go:171 +0x61
created by github.com/dgraph-io/dgraph/worker.StartRaftNodes
        /home/travis/gopath/src/github.com/dgraph-io/dgraph/worker/groups.go:169 +0x3a8

I did found the similar panic listed as an issue and closed here: https://github.com/dgraph-io/dgraph/issues/1152. But it was closed in v0.8 milestone.

So, is there anything I can do either to prevent the panic re-occuring or any hack to make this panic stop appearing? This panic is blocking Dgraph to run again.

Thanks in advance.

@samaita We will investigate this. Can you please file and issue and give us the full logs when you start dgraph.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.