Closed harpy-wings closed 4 years ago
I think the problem is in the way that you are creating the data. I also encountered some problems that confused me.
For example, in your query, you use the "owner" predicate with the first letter in lower case. However, in your dataset, it has no lower case predicate. And Dgraph is case sensitive. Also, there is no "tuid", maybe it was a typo.
When switching from "owner" to "Owner" I still didn't get data. I decided to appeal to expand using "expand (_all _) {expand (_all _) {expand (_all_)}}
" to check the data structure.
What I found is that all data is there, but its type schema does not match what is in the dataset. Or the Type Schema doesn't reflects the structure of your dataset.
Also, you have repeated predicates with different cases. It is considered good practice to adopt a standard. e.g. camelCase or Pascal Case. So you avoid confusion.
Another thing, avoid zipping Dgraph folders. Always use Export for this. If you rely on the files, there may be compatibility issues in some cases unintentionally. It's good to avoid. But if you know what you're doing, okay tho.
Anyway, the problem is in the way you insert the data and how you are designing the structure. If you share these details I may be able to help.
@MichelDiz thanks brother for notations. "tuid" was typing mistake.i updated it. the types defined PascalCase and pridicates are cameCase the structure was fine and working perfect before.
that export file is not correct due to exported after crash. here is one old correct one. but due to avoiding high load to database by programming mistake the types didn't defined completely, so the expand(all) wont work at all. here is one good export. the data are OK. and schema is correct. export.OK.zip
i will prepare the full types definition for you and add it here as soon as possible.
i'm ready to get access to server to you and will be Grateful for your helping and appreciate for that.
some of types are
type Person {
xid
name
fallows
owner
buy
used
shared
}
type Exam {
name
component
}
type Question{
xid
name
choice
}
type ExamSessionGroup {
xid
endDate
startDate
exam
examSession
}
type ExamSession {
xid
corrected
result
answer
question
scoring
}
2 Notes : that may cues this. Max Open File was 1024 ; *referring to official documentation it's better to be 65535 . the server configuration is not enogph:
low Memory which cues some daily Out Of Memory Crash *the recommended minimum is 8GB.
is it just it or other thing may inflect it too? there are some bigger projects who are working fine with Dgraph which can be count this as one.
About "Max Open File was 1024" this is standard on the OS. In the documentation, it is recommended that the user increase the limit https://dgraph.io/docs/deploy/#too-many-open-files
Regarding memory, it is good that you do load tests. Imagine scenarios and create a "load test" for these scenarios and see how your instances react. The recommendation in the minimum documentation is for minimum loads. Intense use and giant loads require more resources, so you have to adapt to the demand you need.
The Type seems better now.
Now, after the new dataset. I'm not sure what the issue is. Are you saying that after a crash Dgraph has modified the dataset? In your previous dataset you had an "Owner" predicate and in this new one is "owner". Did the crash change the predicate case? that's weird. In the previous dataset the data was there, but with different predicates.
With the new dataset provided, I got:
{
data(func: uid(0x5c8e2)) {
uid
owner(first:1) @filter(type(Exam)) {
uid
name
}
}
}
{
"data": {
"data": [
{
"uid": "0x5c8e2",
"owner": [
{
"uid": "0x509a7",
"name": "آزمون آنلاین تستی عربی دهم رشته انسانی | درس 8: يا مَنْ فِی الْبِحارِ عَجائِبُهُ"
}
]
}
]
}
}
So, there's no issue now right?
I have a really edgy and complicated data including 2000 exams and ~50000 Questions and 200000 choices. each node has a ~owner . in other word there is a person who owned all those nodes.
A question. I didn't quite understand that part. Are you saying that a single user holds 252,000 objects? Sometimes the browser may crash with a certain amount of information on the screen. That was what happened?
About "Max Open File was 1024" this is standard on the OS. In the documentation, it is recommended that the user increase the limit https://dgraph.io/docs/deploy/#too-many-open-files
Regarding memory, it is good that you do load tests. Imagine scenarios and create a "load test" for these scenarios and see how your instances react. The recommendation in the minimum documentation is for minimum loads. Intense use and giant loads require more resources, so you have to adapt to the demand you need.
The Type seems better now.
Now, after the new dataset. I'm not sure what the issue is. Are you saying that after a crash Dgraph has modified the dataset? In your previous dataset you had an "Owner" predicate and in this new one is "owner". Did the crash change the predicate case? that's weird. In the previous dataset the data was there, but with different predicates.
With the new dataset provided, I got:
{ data(func: uid(0x5c8e2)) { uid owner(first:1) @filter(type(Exam)) { uid name } } }
{ "data": { "data": [ { "uid": "0x5c8e2", "owner": [ { "uid": "0x509a7", "name": "آزمون آنلاین تستی عربی دهم رشته انسانی | درس 8: يا مَنْ فِی الْبِحارِ عَجائِبُهُ" } ] } ] } }
So, there's no issue now right?
yes , the export.OK.zip was exported a month ago it's ok and data are fine. the Owner pridicate was a mistake from old preview versions. you can simply drop it. forget about the Owner . the "owner" is correct and your result is fine . my main question is what was the main reason of this happened? the file attached to the first comment was exported after the crash and it wasn't complete, some predicates disappeared.
I have a really edgy and complicated data including 2000 exams and ~50000 Questions and 200000 choices. each node has a ~owner . in other word there is a person who owned all those nodes.
A question. I didn't quite understand that part. Are you saying that a single user holds 252,000 objects? Sometimes the browser may crash with a certain amount of information on the screen. That was what happened?
the browser is not important , it's something usual that browser can't handle a canvas with too many nodes. the go-client ( dgo ) couldn't get data from this query :
{
data(func: uid(0x5c8e2)) {
uid
owner(first:1) @filter(type(Exam)) {
uid
name
}
}
}
the point is that this person who owned this 250000 nodes is the admin of website, other users owned things too. other users was fine while the admin lost his owned data.some of this users buied some objects from admin. so they could see that nodes and other part of website working well , but the admin who owned that 250000 nods couldn't see them.
I done some tests with different server configurations . 1RAM - 1CPU
test 1 :
test :
the result was interesting and that error occurs again. i thing the reason of it was the Out Of Memory Crash While Mutations. it's like disk sector failure. the data exist but the path of getting them is damaged. we have several crash in each test but none of them didn't damage the data. but data damage in first configuration when the crash happend while Out Of Memory Crash. here is logs. i recorded some video if you are interested in.
``` ... es:18446744073709551615 expiryTs:1589755638 enabled:true > I0420 06:07:19.498888 25203 node.go:182] Setting conf state to nodes:1 I0420 06:07:19.499218 25203 node.go:182] Setting conf state to nodes:1 nodes:2 I0420 06:07:19.500257 25203 node.go:182] Setting conf state to nodes:1 nodes:2 nodes:3 I0420 06:07:21.540806 25203 log.go:34] raft.node: 1 elected leader 2 at term 17 fatal error: runtime: out of memory runtime stack: runtime.throw(0x189bbf8, 0x16) /usr/local/go/src/runtime/panic.go:774 +0x72 runtime.sysMap(0xc040000000, 0x4000000, 0x24a4298) /usr/local/go/src/runtime/mem_linux.go:169 +0xc5 runtime.(*mheap).sysAlloc(0x248af20, 0x41e000, 0xa280e5, 0x7f8a989ff190) /usr/local/go/src/runtime/malloc.go:701 +0x1cd runtime.(*mheap).grow(0x248af20, 0x20f, 0xffffffff) /usr/local/go/src/runtime/mheap.go:1255 +0xa3 runtime.(*mheap).allocSpanLocked(0x248af20, 0x20f, 0x24a42a8, 0x961805) /usr/local/go/src/runtime/mheap.go:1170 +0x266 runtime.(*mheap).alloc_m(0x248af20, 0x20f, 0x7f894c5f0101, 0x7f894c5fb5c8) /usr/local/go/src/runtime/mheap.go:1022 +0xc2 runtime.(*mheap).alloc.func1() /usr/local/go/src/runtime/mheap.go:1093 +0x4c runtime.(*mheap).alloc(0x248af20, 0x20f, 0x7f8a85010101, 0x7f894c5fb5c8) /usr/local/go/src/runtime/mheap.go:1092 +0x8a runtime.largeAlloc(0x41ca8c, 0x990101, 0x7f894c5fb5c8) /usr/local/go/src/runtime/malloc.go:1138 +0x97 runtime.mallocgc.func1() /usr/local/go/src/runtime/malloc.go:1033 +0x46 runtime.systemstack(0x0) /usr/local/go/src/runtime/asm_amd64.s:370 +0x66 runtime.mstart() /usr/local/go/src/runtime/proc.go:1146 goroutine 693 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_amd64.s:330 fp=0xc0249de758 sp=0xc0249de750 pc=0x9a1a10 runtime.mallocgc(0x41ca8c, 0x1699b60, 0x1, 0x0) /usr/local/go/src/runtime/malloc.go:1032 +0x895 fp=0xc0249de7f8 sp=0xc0249de758 pc=0x94ffa5 runtime.makeslice(0x1699b60, 0x41ca8c, 0x41ca8c, 0x9b0712) /usr/local/go/src/runtime/slice.go:49 +0x6c fp=0xc0249de828 sp=0xc0249de7f8 pc=0x98a3ec bytes.makeSlice(0x41ca8c, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x77 fp=0xc0249de890 sp=0xc0249de828 pc=0xa42e37 bytes.(*Buffer).grow(0xc03f464780, 0xa, 0x1a58c01) /usr/local/go/src/bytes/buffer.go:142 +0x15b fp=0xc0249de8e0 sp=0xc0249de890 pc=0xa4277b bytes.(*Buffer).WriteString(0xc03f464780, 0x173ea8a, 0xa, 0x7f8a98842f00, 0xc03f464780, 0x173ea01) /usr/local/go/src/bytes/buffer.go:184 +0xdd fp=0xc0249de910 sp=0xc0249de8e0 pc=0xa42b9d io.WriteString(0x1a58ca0, 0xc03f464780, 0x173ea8a, 0xa, 0xc03f464780, 0x0, 0x1aa36c0) /usr/local/go/src/io/io.go:291 +0x74 fp=0xc0249de958 sp=0xc0249de910 pc=0xa0dd64 github.com/golang/protobuf/proto.(*textWriter).WriteString(0xc03bf35ce0, 0x173ea8a, 0xa, 0x1, 0x1, 0x5) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:83 +0xb7 fp=0xc0249de9a0 sp=0xc0249de958 pc=0xcd2977 github.com/golang/protobuf/proto.writeName(0xc03bf35ce0, 0xc023ba0e40, 0x185, 0x0) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:163 +0x46 fp=0xc0249de9e0 sp=0xc0249de9a0 pc=0xcd30b6 github.com/golang/protobuf/proto.(*TextMarshaler).writeStruct(0x22a0720, 0xc03bf35ce0, 0x18395c0, 0xc03f18dcc0, 0x199, 0x199, 0x1a58ca0) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:429 +0x7e2 fp=0xc0249dec78 sp=0xc0249de9e0 pc=0xcd4262 github.com/golang/protobuf/proto.(*TextMarshaler).writeAny(0x22a0720, 0xc03bf35ce0, 0x1852f60, 0xc03f3ee7a8, 0x196, 0xc023ba0b40, 0x196, 0x0) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:534 +0x236 fp=0xc0249ded30 sp=0xc0249dec78 pc=0xcd5706 github.com/golang/protobuf/proto.(*TextMarshaler).writeStruct(0x22a0720, 0xc03bf35ce0, 0x1832e40, 0xc03f463cc0, 0x199, 0x199, 0x7f8a989a0520) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:314 +0x149b fp=0xc0249defc8 sp=0xc0249ded30 pc=0xcd4f1b github.com/golang/protobuf/proto.(*TextMarshaler).Marshal(0x22a0720, 0x1a58ca0, 0xc03f464780, 0x1a7c160, 0xc03f463cc0, 0x7f894c851fff, 0x400) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:809 +0x295 fp=0xc0249df068 sp=0xc0249defc8 pc=0xcd7805 github.com/golang/protobuf/proto.(*TextMarshaler).Text(0x22a0720, 0x1a7c160, 0xc03f463cc0, 0x101, 0x7f8a9898d6d0) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:821 +0x6e fp=0xc0249df0b8 sp=0xc0249df068 pc=0xcd7c4e github.com/golang/protobuf/proto.CompactTextString(...) /tmp/go/pkg/mod/github.com/golang/protobuf@v1.3.2/proto/text.go:843 github.com/dgraph-io/dgraph/protos/pb.(*Mutations).String(0xc03f463cc0, 0x1842fe0, 0xc03f463cc0) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:1895 +0x43 fp=0xc0249df0f0 sp=0xc0249df0b8 pc=0xe23f33 fmt.(*pp).handleMethods(0xc03c5861a0, 0x20300f00000076, 0x7f894c851f01) /usr/local/go/src/fmt/print.go:630 +0x302 fp=0xc0249df300 sp=0xc0249df0f0 pc=0xa27b22 fmt.(*pp).printArg(0xc03c5861a0, 0x1842fe0, 0xc03f463cc0, 0x20300f00000076) /usr/local/go/src/fmt/print.go:713 +0x206 fp=0xc0249df398 sp=0xc0249df300 pc=0xa280e6 fmt.(*pp).doPrintf(0xc03c5861a0, 0x189c1e8, 0x17, 0xc0249df6e8, 0x1, 0x1) /usr/local/go/src/fmt/print.go:1030 +0x15b fp=0xc0249df480 sp=0xc0249df398 pc=0xa2baab fmt.Sprintf(0x189c1e8, 0x17, 0xc0249df6e8, 0x1, 0x1, 0xc03c58eae4, 0x10) /usr/local/go/src/fmt/print.go:219 +0x66 fp=0xc0249df4d8 sp=0xc0249df480 pc=0xa24986 go.opencensus.io/trace.(*Span).lazyPrintfInternal(0xc03a141380, 0x0, 0x0, 0x0, 0x189c1e8, 0x17, 0xc0249df6e8, 0x1, 0x1) /tmp/go/pkg/mod/go.opencensus.io@v0.21.0/trace/trace.go:419 +0x99 fp=0xc0249df5a8 sp=0xc0249df4d8 pc=0xe9b089 go.opencensus.io/trace.(*Span).Annotatef(...) /tmp/go/pkg/mod/go.opencensus.io@v0.21.0/trace/trace.go:464 github.com/dgraph-io/dgraph/edgraph.(*Server).doMutate(0x24a1bb0, 0x1a84a60, 0xc03c7620f0, 0xc03bf3b860, 0xc03d51dbc0, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:280 +0xb61 fp=0xc0249df7b8 sp=0xc0249df5a8 pc=0x14a2171 github.com/dgraph-io/dgraph/edgraph.(*Server).doQuery(0x24a1bb0, 0x1a84a60, 0xc03c7620f0, 0xc03c57a070, 0x0, 0xc03d51dbc0, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:755 +0x518 fp=0xc0249df9d0 sp=0xc0249df7b8 pc=0x14a6428 github.com/dgraph-io/dgraph/edgraph.(*Server).Query(0x24a1bb0, 0x1a84a60, 0xc03a10ff50, 0xc03c57a070, 0x24a1bb0, 0xc03a10ff50, 0xc03b6f0a80) /tmp/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:669 +0x52 fp=0xc0249dfa20 sp=0xc0249df9d0 pc=0x14a5df2 github.com/dgraph-io/dgo/v2/protos/api._Dgraph_Query_Handler(0x17ead60, 0x24a1bb0, 0x1a84a60, 0xc03a10ff50, 0xc03bf3eae0, 0x0, 0x1a84a60, 0xc03a10ff50, 0xc03c5f2000, 0xb1c4c) /tmp/go/pkg/mod/github.com/dgraph-io/dgo/v2@v2.1.1-0.20191127085444-c7a02678e8a6/protos/api/api.pb.go:1594 +0x217 fp=0xc0249dfa90 sp=0xc0249dfa20 pc=0xe01187 google.golang.org/grpc.(*Server).processUnaryRPC(0xc00039c420, 0x1a927c0, 0xc000743c80, 0xc03b738600, 0xc0000ebc80, 0x2293618, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:995 +0x460 fp=0xc0249dfe18 sp=0xc0249dfa90 pc=0xde3ca0 google.golang.org/grpc.(*Server).handleStream(0xc00039c420, 0x1a927c0, 0xc000743c80, 0xc03b738600, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1275 +0xd97 fp=0xc0249dff48 sp=0xc0249dfe18 pc=0xde7c07 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0285b1b40, 0xc00039c420, 0x1a927c0, 0xc000743c80, 0xc03b738600) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:710 +0xbb fp=0xc0249dffb8 sp=0xc0249dff48 pc=0xdf4b6b runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0249dffc0 sp=0xc0249dffb8 pc=0x9a3ae1 created by google.golang.org/grpc.(*Server).serveStreams.func1 /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:708 +0xa1 goroutine 1 [semacquire, 9 minutes]: sync.runtime_Semacquire(0xc000873c98) /usr/local/go/src/runtime/sema.go:56 +0x42 sync.(*WaitGroup).Wait(0xc000873c90) /usr/local/go/src/sync/waitgroup.go:130 +0x64 github.com/dgraph-io/dgraph/dgraph/cmd/alpha.setupServer() /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:503 +0x862 github.com/dgraph-io/dgraph/dgraph/cmd/alpha.run() /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:652 +0xda5 github.com/dgraph-io/dgraph/dgraph/cmd/alpha.init.2.func1(0xc00039e000, 0xc0008e62a0, 0x0, 0x2) /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:90 +0x66 github.com/spf13/cobra.(*Command).execute(0xc00039e000, 0xc0008e6260, 0x2, 0x2, 0xc00039e000, 0xc0008e6260) /tmp/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x2aa github.com/spf13/cobra.(*Command).ExecuteC(0x2296fa0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb github.com/spf13/cobra.(*Command).Execute(...) /tmp/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864 github.com/dgraph-io/dgraph/dgraph/cmd.Execute() /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/root.go:69 +0x80 main.main() /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/main.go:73 +0xb0 goroutine 6 [chan receive]: github.com/golang/glog.(*loggingT).flushDaemon(0x2484c20) /tmp/go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:882 +0x8b created by github.com/golang/glog.init.0 /tmp/go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:410 +0x26f goroutine 10 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0000b0aa0) /tmp/go/pkg/mod/go.opencensus.io@v0.21.0/stats/view/worker.go:154 +0x100 created by go.opencensus.io/stats/view.init.0 /tmp/go/pkg/mod/go.opencensus.io@v0.21.0/stats/view/worker.go:32 +0x57 goroutine 11 [syscall, 9 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:147 +0x9c os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x22 created by os/signal.init.0 /usr/local/go/src/os/signal/signal_unix.go:29 +0x41 goroutine 12 [chan receive]: github.com/dgraph-io/dgraph/x.init.0.func1(0x1a849e0, 0xc00003a108) /tmp/go/src/github.com/dgraph-io/dgraph/x/metrics.go:212 +0xfd created by github.com/dgraph-io/dgraph/x.init.0 /tmp/go/src/github.com/dgraph-io/dgraph/x/metrics.go:208 +0x93 goroutine 21 [chan receive]: main.main.func1() /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/main.go:46 +0x124 created by main.main /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/main.go:37 +0xab goroutine 36 [select, 9 minutes]: github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0xc000325200) /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/policy.go:96 +0xbe created by github.com/dgraph-io/ristretto.newDefaultPolicy /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/policy.go:80 +0x129 goroutine 37 [select, 9 minutes]: github.com/dgraph-io/ristretto.(*Cache).processItems(0xc000074660) /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/cache.go:257 +0xc8 created by github.com/dgraph-io/ristretto.NewCache /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/cache.go:155 +0x1f3 goroutine 38 [select]: github.com/dgraph-io/badger/v2/y.(*WaterMark).process(0xc0000322c0, 0xc00000fe00) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:229 +0x2e6 created by github.com/dgraph-io/badger/v2/y.(*WaterMark).Init /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:78 +0xa6 goroutine 39 [select]: github.com/dgraph-io/badger/v2/y.(*WaterMark).process(0xc000032380, 0xc00000fe00) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:229 +0x2e6 created by github.com/dgraph-io/badger/v2/y.(*WaterMark).Init /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:78 +0xa6 goroutine 40 [select]: github.com/dgraph-io/badger/v2.(*DB).updateSize(0xc000340800, 0xc00000fe60) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:1085 +0x175 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:323 +0xa20 goroutine 796 [select]: github.com/dgraph-io/badger/v2.(*levelsController).runWorker(0xc0000e8000, 0xc00089c180) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:362 +0x228 created by github.com/dgraph-io/badger/v2.(*levelsController).startCompact /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:343 +0x88 goroutine 797 [select]: github.com/dgraph-io/badger/v2.(*levelsController).runWorker(0xc0000e8000, 0xc00089c180) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:362 +0x228 created by github.com/dgraph-io/badger/v2.(*levelsController).startCompact /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:343 +0x88 goroutine 798 [chan receive, 9 minutes]: github.com/dgraph-io/badger/v2.(*DB).flushMemtable(0xc000340800, 0xc00089c1a0, 0x0, 0x0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:993 +0xc3 github.com/dgraph-io/badger/v2.Open.func4(0xc000010030) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:337 +0x37 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:336 +0x14b7 goroutine 801 [select]: github.com/dgraph-io/badger/v2.(*DB).doWrites(0xc000340800, 0xc00089c340) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:766 +0x418 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:371 +0xf9c goroutine 800 [select, 9 minutes]: github.com/dgraph-io/badger/v2.(*valueLog).flushDiscardStats(0xc0003409c8) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/value.go:1790 +0x19e created by github.com/dgraph-io/badger/v2.(*valueLog).open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/value.go:1027 +0x22c goroutine 850 [chan receive, 9 minutes]: github.com/dgraph-io/badger/v2.(*valueLog).waitOnGC(0xc0003409c8, 0xc00089c360) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/value.go:1693 +0x70 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:375 +0x11c4 goroutine 851 [select, 9 minutes]: github.com/dgraph-io/badger/v2.(*publisher).listenForUpdates(0xc0000eb500, 0xc00089c380) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/publisher.go:67 +0x17f created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:379 +0x107b goroutine 852 [select]: github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0xc0000eb5f0) /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/policy.go:96 +0xbe created by github.com/dgraph-io/ristretto.newDefaultPolicy /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/policy.go:80 +0x129 goroutine 70 [select]: github.com/dgraph-io/ristretto.(*Cache).processItems(0xc0008a20c0) /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/cache.go:257 +0xc8 created by github.com/dgraph-io/ristretto.NewCache /tmp/go/pkg/mod/github.com/dgraph-io/ristretto@v0.0.1/cache.go:155 +0x1f3 goroutine 71 [select, 9 minutes]: github.com/dgraph-io/badger/v2/y.(*WaterMark).process(0xc0000325c0, 0xc0003583a0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:229 +0x2e6 created by github.com/dgraph-io/badger/v2/y.(*WaterMark).Init /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:78 +0xa6 goroutine 72 [select, 9 minutes]: github.com/dgraph-io/badger/v2/y.(*WaterMark).process(0xc0000327c0, 0xc0003583a0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:229 +0x2e6 created by github.com/dgraph-io/badger/v2/y.(*WaterMark).Init /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:78 +0xa6 goroutine 52 [select]: github.com/dgraph-io/badger/v2.(*DB).updateSize(0xc000341000, 0xc0001ee0c0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:1085 +0x175 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:323 +0xa20 goroutine 836 [select]: github.com/dgraph-io/badger/v2.(*levelsController).runWorker(0xc0000e8070, 0xc0008e6120) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:362 +0x228 created by github.com/dgraph-io/badger/v2.(*levelsController).startCompact /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:343 +0x88 goroutine 837 [select]: github.com/dgraph-io/badger/v2.(*levelsController).runWorker(0xc0000e8070, 0xc0008e6120) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:362 +0x228 created by github.com/dgraph-io/badger/v2.(*levelsController).startCompact /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/levels.go:343 +0x88 goroutine 838 [chan receive, 9 minutes]: github.com/dgraph-io/badger/v2.(*DB).flushMemtable(0xc000341000, 0xc0008e6140, 0x0, 0x0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:993 +0xc3 github.com/dgraph-io/badger/v2.Open.func4(0xc000010270) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:337 +0x37 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:336 +0x14b7 goroutine 841 [select]: github.com/dgraph-io/badger/v2.(*DB).doWrites(0xc000341000, 0xc0008e62e0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:766 +0x418 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:371 +0xf9c goroutine 840 [select, 9 minutes]: github.com/dgraph-io/badger/v2.(*valueLog).flushDiscardStats(0xc0003411c8) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/value.go:1790 +0x19e created by github.com/dgraph-io/badger/v2.(*valueLog).open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/value.go:1027 +0x22c goroutine 842 [chan receive, 9 minutes]: github.com/dgraph-io/badger/v2.(*valueLog).waitOnGC(0xc0003411c8, 0xc0008e6300) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/value.go:1693 +0x70 created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:375 +0x11c4 goroutine 843 [select, 9 minutes]: github.com/dgraph-io/badger/v2.(*publisher).listenForUpdates(0xc00016d200, 0xc0008e6320) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/publisher.go:67 +0x17f created by github.com/dgraph-io/badger/v2.Open /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/db.go:379 +0x107b goroutine 844 [select]: github.com/dgraph-io/dgraph/worker.(*ServerState).runVlogGC(0x2483f60, 0xc000341000) /tmp/go/src/github.com/dgraph-io/dgraph/worker/server_state.go:84 +0xfa created by github.com/dgraph-io/dgraph/worker.(*ServerState).initStorage /tmp/go/src/github.com/dgraph-io/dgraph/worker/server_state.go:194 +0x740 goroutine 845 [select]: github.com/dgraph-io/dgraph/worker.(*ServerState).runVlogGC(0x2483f60, 0xc000340800) /tmp/go/src/github.com/dgraph-io/dgraph/worker/server_state.go:84 +0xfa created by github.com/dgraph-io/dgraph/worker.(*ServerState).initStorage /tmp/go/src/github.com/dgraph-io/dgraph/worker/server_state.go:195 +0x76e goroutine 846 [chan receive]: github.com/dgraph-io/dgraph/worker.(*ServerState).fillTimestampRequests(0x2483f60) /tmp/go/src/github.com/dgraph-io/dgraph/worker/server_state.go:228 +0x3ba created by github.com/dgraph-io/dgraph/worker.InitServerState /tmp/go/src/github.com/dgraph-io/dgraph/worker/server_state.go:59 +0xfb goroutine 847 [select]: github.com/dgraph-io/dgraph/posting.updateMemoryMetrics(0xc0008e63a0) /tmp/go/src/github.com/dgraph-io/dgraph/posting/lists.go:121 +0x16f created by github.com/dgraph-io/dgraph/posting.Init /tmp/go/src/github.com/dgraph-io/dgraph/posting/lists.go:139 +0xd0 goroutine 848 [chan receive]: github.com/dgraph-io/dgraph/worker.(*rateLimiter).bleed(0x2480ca0) /tmp/go/src/github.com/dgraph-io/dgraph/worker/proposal.go:65 +0x100 created by github.com/dgraph-io/dgraph/worker.Init /tmp/go/src/github.com/dgraph-io/dgraph/worker/worker.go:58 +0xeb goroutine 866 [chan receive, 9 minutes]: github.com/dgraph-io/dgraph/dgraph/cmd/alpha.run.func3(0xc0001e6a20) /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:627 +0x4d created by github.com/dgraph-io/dgraph/dgraph/cmd/alpha.run /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:625 +0xd01 goroutine 868 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0x7f8a98996d68, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0000b2198, 0x72, 0x0, 0x0, 0x1888dfd) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0000b2180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc0000b2180, 0x37e11d600, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc0001ee2a0, 0xc000161da8, 0xc000161db0, 0x18) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001ee2a0, 0x18f0cc8, 0xc024838000, 0x1a91080, 0xc000130158) /usr/local/go/src/net/tcpsock.go:261 +0x47 google.golang.org/grpc.(*Server).Serve(0xc024838000, 0x1a7f2a0, 0xc0001ee2a0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:586 +0x22e github.com/dgraph-io/dgraph/worker.RunServer(0x94fa01) /tmp/go/src/github.com/dgraph-io/dgraph/worker/worker.go:95 +0x2db created by github.com/dgraph-io/dgraph/dgraph/cmd/alpha.setupServer /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:417 +0x52 goroutine 869 [IO wait]: internal/poll.runtime_pollWait(0x7f8a98996e38, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002e6198, 0x72, 0x0, 0x0, 0x1888dfd) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002e6180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc0002e6180, 0x37e11d600, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc0008e6480, 0xc024415d28, 0xc024415d30, 0x18) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0008e6480, 0x18f0cc8, 0xc00039c420, 0x1a91080, 0xc0249ce430) /usr/local/go/src/net/tcpsock.go:261 +0x47 google.golang.org/grpc.(*Server).Serve(0xc00039c420, 0x1a7f2a0, 0xc0008e6480, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:586 +0x22e github.com/dgraph-io/dgraph/dgraph/cmd/alpha.serveGRPC(0x1a7f2a0, 0xc0008e6480, 0x0, 0xc000873c90) /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:388 +0x31c created by github.com/dgraph-io/dgraph/dgraph/cmd/alpha.setupServer /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:486 +0x68d goroutine 870 [IO wait]: internal/poll.runtime_pollWait(0x7f8a98996f08, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002e6118, 0x72, 0x0, 0x0, 0x1888dfd) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc0002e6100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc0002e6100, 0xc000065d08, 0xc51704, 0xc0002ec0a0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc0008e6460, 0x5e9d3e38, 0xc000065d08, 0x9cca26) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0008e6460, 0xc000065d58, 0x18, 0xc000875e00, 0xc50c34) /usr/local/go/src/net/tcpsock.go:261 +0x47 net/http.(*Server).Serve(0xc0002ec000, 0x1a7f2a0, 0xc0008e6460, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2896 +0x280 github.com/dgraph-io/dgraph/dgraph/cmd/alpha.serveHTTP(0x1a7f2a0, 0xc0008e6460, 0x0, 0xc000873c90) /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:406 +0x312 created by github.com/dgraph-io/dgraph/dgraph/cmd/alpha.setupServer /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:487 +0x6d0 goroutine 871 [chan receive, 9 minutes]: github.com/dgraph-io/dgraph/dgraph/cmd/alpha.setupServer.func1(0xc000873c90, 0x1a7f2a0, 0xc0008e6480, 0x1a7f2a0, 0xc0008e6460) /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:491 +0x7f created by github.com/dgraph-io/dgraph/dgraph/cmd/alpha.setupServer /tmp/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:489 +0x71d goroutine 54 [select, 9 minutes]: google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc024870000) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/balancer_conn_wrappers.go:115 +0x12c created by google.golang.org/grpc.newCCBalancerWrapper /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/balancer_conn_wrappers.go:106 +0x169 goroutine 55 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00035ad70, 0xc000359270, 0x5, 0x5, 0xc024875870, 0x9b036c, 0x18f1b70) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:185 +0xd3 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00035ad70, 0xc000359270, 0x5, 0x5, 0xc024875e98, 0xc023a11ea0, 0xc024875918) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:165 +0x195 google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc024828570, 0xc000359270, 0x5, 0x5, 0xc024875940, 0xc024875940, 0xd4c2cc) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:488 +0x55 io.ReadAtLeast(0x1a5a3e0, 0xc024828570, 0xc000359270, 0x5, 0x5, 0x5, 0xc03bf6b300, 0xc024875a28, 0xa4b60a) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0248b0000, 0xc000359270, 0x5, 0x5, 0x1b084bcd, 0xc024875a08, 0x94d4ff) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:472 +0xc7 google.golang.org/grpc.(*parser).recvMsg(0xc000359260, 0x100000000, 0x1, 0xc024875a98, 0x945dc4, 0xc00016b130, 0xc03bf68660, 0x7f8a989ae001) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:508 +0x63 google.golang.org/grpc.recvAndDecompress(0xc000359260, 0xc0248b0000, 0x0, 0x0, 0x100000000, 0xc024875c58, 0x1a7fa60, 0x24a1bb0, 0x992d68, 0x3c8a0293982, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:639 +0x4d google.golang.org/grpc.recv(0xc000359260, 0x7f8a9895e5f8, 0x24a1bb0, 0xc0248b0000, 0x0, 0x0, 0x1840c80, 0xc03bf5ed00, 0x100000000, 0xc024875c58, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:684 +0x9b google.golang.org/grpc.(*csAttempt).recvMsg(0xc0000b2300, 0x1840c80, 0xc03bf5ed00, 0xc024875c58, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:885 +0xed google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0000b2300, 0x20300e, 0x20300e) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:736 +0x46 google.golang.org/grpc.(*clientStream).withRetry(0xc000394120, 0xc024875dc0, 0xc024875d90, 0x0, 0x68) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:590 +0x360 google.golang.org/grpc.(*clientStream).RecvMsg(0xc000394120, 0x1840c80, 0xc03bf5ed00, 0x5e9d3e4b, 0x1b085acc) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:735 +0x103 github.com/dgraph-io/dgraph/protos/pb.(*raftHeartbeatClient).Recv(0xc0003a83b0, 0x83ad4411d8, 0x24842c0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4850 +0x62 github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat(0xc000096270, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:227 +0x1e5 github.com/dgraph-io/dgraph/conn.(*Pool).MonitorHealth(0xc000096270) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:250 +0xce created by github.com/dgraph-io/dgraph/conn.newPool /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:179 +0x402 goroutine 872 [chan receive, 9 minutes]: google.golang.org/grpc.(*addrConn).resetTransport(0xc0000bc780) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/clientconn.go:1077 +0x6ac created by google.golang.org/grpc.(*addrConn).connect /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/clientconn.go:743 +0x120 goroutine 876 [runnable]: internal/poll.runtime_pollWait(0x7f8a98996c98, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002e6418, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002e6400, 0xc024894000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc0002e6400, 0xc024894000, 0x8000, 0x8000, 0x0, 0x800010601, 0x0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0001300b0, 0xc024894000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc0001e6ea0, 0xc0248ac038, 0x9, 0x9, 0x24859e0, 0x7f8a989af0c8, 0x0) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc0001e6ea0, 0xc0248ac038, 0x9, 0x9, 0x9, 0xd1dd25, 0xc03b975f4c, 0xc024cf2e00) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc0248ac038, 0x9, 0x9, 0x1a58c40, 0xc0001e6ea0, 0x0, 0xbf9f6d7200000000, 0x83be05252a, 0x24842c0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc0248ac000, 0xc03b975f40, 0xc03b975f40, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc000188380) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:1249 +0x196 created by google.golang.org/grpc/internal/transport.newHTTP2Client /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:289 +0xd75 goroutine 877 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00089e5f0, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0001e6f60, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc000188380) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:333 +0x7b created by google.golang.org/grpc/internal/transport.newHTTP2Client /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:331 +0xf12 goroutine 56 [select, 9 minutes]: google.golang.org/grpc.newClientStream.func5(0xc000876700, 0xc000394120, 0x1a84a60, 0xc0248900f0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:319 +0xd7 created by google.golang.org/grpc.newClientStream /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:318 +0x9a5 goroutine 57 [select, 9 minutes]: github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat.func1(0x1a849a0, 0xc023ab5ac0, 0xc000096270, 0xc00016b0c0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:218 +0xc7 created by github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:217 +0x1c3 goroutine 41 [select, 9 minutes]: google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc024974300) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/balancer_conn_wrappers.go:115 +0x12c created by google.golang.org/grpc.newCCBalancerWrapper /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/balancer_conn_wrappers.go:106 +0x169 goroutine 42 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc0249ea000, 0xc0249d01b0, 0x5, 0x5, 0xc0249e3870, 0x9b036c, 0x18f1b70) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:185 +0xd3 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc0249ea000, 0xc0249d01b0, 0x5, 0x5, 0xc0249e3e98, 0xc0249ec000, 0xc0249e3918) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:165 +0x195 google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0249cc090, 0xc0249d01b0, 0x5, 0x5, 0xc0249e3940, 0xc0249e3940, 0xd4c2cc) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:488 +0x55 io.ReadAtLeast(0x1a5a3e0, 0xc0249cc090, 0xc0249d01b0, 0x5, 0x5, 0x5, 0xc03c550080, 0xc0249e3a28, 0xa4b60a) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0249e8000, 0xc0249d01b0, 0x5, 0x5, 0x1b9a5e61, 0xc0249e3a08, 0x94d4ff) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:472 +0xc7 google.golang.org/grpc.(*parser).recvMsg(0xc0249d01a0, 0x100000000, 0x1, 0xc0249e3a98, 0x945dc4, 0xc00006b8d0, 0xc03bef7f50, 0x7f8a989afe01) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:508 +0x63 google.golang.org/grpc.recvAndDecompress(0xc0249d01a0, 0xc0249e8000, 0x0, 0x0, 0x100000000, 0xc0249e3c58, 0x1a7fa60, 0x24a1bb0, 0x992d68, 0x3c8a0bb4b72, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:639 +0x4d google.golang.org/grpc.recv(0xc0249d01a0, 0x7f8a9895e5f8, 0x24a1bb0, 0xc0249e8000, 0x0, 0x0, 0x1840c80, 0xc03bf15f80, 0x100000000, 0xc0249e3c58, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:684 +0x9b google.golang.org/grpc.(*csAttempt).recvMsg(0xc0002e6700, 0x1840c80, 0xc03bf15f80, 0xc0249e3c58, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:885 +0xed google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0002e6700, 0x20300e, 0x20300e) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:736 +0x46 google.golang.org/grpc.(*clientStream).withRetry(0xc0249ac120, 0xc0249e3dc0, 0xc0249e3d90, 0x0, 0x68) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:590 +0x360 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0249ac120, 0x1840c80, 0xc03bf15f80, 0x5e9d3e4b, 0x1b9a747c) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:735 +0x103 github.com/dgraph-io/dgraph/protos/pb.(*raftHeartbeatClient).Recv(0xc0249d4040, 0x83add62b7a, 0x24842c0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4850 +0x62 github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat(0xc0249785b0, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:227 +0x1e5 github.com/dgraph-io/dgraph/conn.(*Pool).MonitorHealth(0xc0249785b0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:250 +0xce created by github.com/dgraph-io/dgraph/conn.newPool /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:179 +0x402 goroutine 878 [chan receive, 9 minutes]: google.golang.org/grpc.(*addrConn).resetTransport(0xc0000bcf00) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/clientconn.go:1077 +0x6ac created by google.golang.org/grpc.(*addrConn).connect /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/clientconn.go:743 +0x120 goroutine 853 [runnable]: internal/poll.runtime_pollWait(0x7f8a98996bc8, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002e6618, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002e6600, 0xc024990000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc0002e6600, 0xc024990000, 0x8000, 0x8000, 0x0, 0x800010601, 0x0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0001180a8, 0xc024990000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc00039b2c0, 0xc0002ec118, 0x9, 0x9, 0xc000508000, 0x7f8a989ae040, 0x0) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc00039b2c0, 0xc0002ec118, 0x9, 0x9, 0x9, 0xd1dd25, 0xc03bf6ca2c, 0xc0001f0e00) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc0002ec118, 0x9, 0x9, 0x1a58c40, 0xc00039b2c0, 0x0, 0xbf9f6d7200000000, 0x83add6958a, 0x24842c0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc0002ec0e0, 0xc03bf6ca20, 0xc03bf6ca20, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0249aa000) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:1249 +0x196 created by google.golang.org/grpc/internal/transport.newHTTP2Client /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:289 +0xd75 goroutine 884 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00089ec30, 0xc0008e6a90, 0x5, 0x5, 0x30, 0x48, 0x18f1b70) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:185 +0xd3 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00089ec30, 0xc0008e6a90, 0x5, 0x5, 0x0, 0xc024832360, 0xc024bcd978) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:165 +0x195 google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0248ae930, 0xc0008e6a90, 0x5, 0x5, 0x0, 0xc024bcd9a0, 0xd4c2cc) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:488 +0x55 io.ReadAtLeast(0x1a5a3e0, 0xc0248ae930, 0xc0008e6a90, 0x5, 0x5, 0x5, 0xc03be098c0, 0xc024bcda88, 0xa4b60a) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc00019df00, 0xc0008e6a90, 0x5, 0x5, 0xc01d47beca, 0xc024bcda68, 0x94d4ff) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:472 +0xc7 google.golang.org/grpc.(*parser).recvMsg(0xc0008e6a80, 0x100000000, 0x1, 0xc024bcdaf8, 0x945dc4, 0xc00006b9a0, 0xc03bdfb2e0, 0x7f8a9899fe01) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:508 +0x63 google.golang.org/grpc.recvAndDecompress(0xc0008e6a80, 0xc00019df00, 0x0, 0x0, 0x100000000, 0xc024bcdcb8, 0x1a7fa60, 0x24a1bb0, 0x992d68, 0x3c8a268ab69, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:639 +0x4d google.golang.org/grpc.recv(0xc0008e6a80, 0x7f8a9895e5f8, 0x24a1bb0, 0xc00019df00, 0x0, 0x0, 0x1849c60, 0xc03be10800, 0x100000000, 0xc024bcdcb8, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:684 +0x9b google.golang.org/grpc.(*csAttempt).recvMsg(0xc0002e6800, 0x1849c60, 0xc03be10800, 0xc024bcdcb8, 0xc024bcdd10, 0x9a05e0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:885 +0xed google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0002e6800, 0x20300e, 0x20300e) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:736 +0x46 google.golang.org/grpc.(*clientStream).withRetry(0xc0249ac360, 0xc024bcde20, 0xc024bcddf0, 0x1, 0x68) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:590 +0x360 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0249ac360, 0x1849c60, 0xc03be10800, 0xc024bcdedc, 0x2) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:735 +0x103 github.com/dgraph-io/dgraph/protos/pb.(*zeroStreamMembershipClient).Recv(0xc00006ba20, 0xc024bcded8, 0x2, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:5116 +0x62 github.com/dgraph-io/dgraph/worker.(*groupi).receiveMembershipUpdates.func1(0xc000096270, 0x1a8e4a0, 0xc00006ba20, 0x1a849a0, 0xc024824500, 0xc00006b930, 0xc0001e7740) /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:775 +0xf8 created by github.com/dgraph-io/dgraph/worker.(*groupi).receiveMembershipUpdates /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:771 +0x665 goroutine 854 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0000b0a00, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00039b380, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc0249aa000) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:333 +0x7b created by google.golang.org/grpc/internal/transport.newHTTP2Client /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:331 +0xf12 goroutine 43 [select, 9 minutes]: google.golang.org/grpc.(*ccBalancerWrapper).watcher(0xc0249744c0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/balancer_conn_wrappers.go:115 +0x12c created by google.golang.org/grpc.newCCBalancerWrapper /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/balancer_conn_wrappers.go:106 +0x169 goroutine 44 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc0249c2280, 0xc0249c42d0, 0x5, 0x5, 0xc0249e1870, 0x9b036c, 0x18f1b70) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:185 +0xd3 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc0249c2280, 0xc0249c42d0, 0x5, 0x5, 0xc0249e1e98, 0xc0249b6080, 0xc0249e1918) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:165 +0x195 google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0249bc360, 0xc0249c42d0, 0x5, 0x5, 0xc0249e1940, 0xc0249e1940, 0xd4c2cc) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:488 +0x55 io.ReadAtLeast(0x1a5a3e0, 0xc0249bc360, 0xc0249c42d0, 0x5, 0x5, 0x5, 0xc03bf6b340, 0xc0249e1a28, 0xa4b60a) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc024a1a100, 0xc0249c42d0, 0x5, 0x5, 0x1ba07018, 0xc0249e1a08, 0x94d4ff) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:472 +0xc7 google.golang.org/grpc.(*parser).recvMsg(0xc0249c42c0, 0x100000000, 0x1, 0xc0249e1a98, 0x945dc4, 0xc00016b210, 0xc03bf68670, 0x7f8a989ae001) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:508 +0x63 google.golang.org/grpc.recvAndDecompress(0xc0249c42c0, 0xc024a1a100, 0x0, 0x0, 0x100000000, 0xc0249e1c58, 0x1a7fa60, 0x24a1bb0, 0x992d68, 0x3c8a0c15fa2, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:639 +0x4d google.golang.org/grpc.recv(0xc0249c42c0, 0x7f8a9895e5f8, 0x24a1bb0, 0xc024a1a100, 0x0, 0x0, 0x1840c80, 0xc03bf5ed80, 0x100000000, 0xc0249e1c58, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:684 +0x9b google.golang.org/grpc.(*csAttempt).recvMsg(0xc0000b2480, 0x1840c80, 0xc03bf5ed80, 0xc0249e1c58, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:885 +0xed google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0000b2480, 0x20300e, 0x20300e) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:736 +0x46 google.golang.org/grpc.(*clientStream).withRetry(0xc000394360, 0xc0249e1dc0, 0xc0249e1d90, 0x0, 0x68) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:590 +0x360 google.golang.org/grpc.(*clientStream).RecvMsg(0xc000394360, 0x1840c80, 0xc03bf5ed80, 0x5e9d3e4b, 0x1ba0790e) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:735 +0x103 github.com/dgraph-io/dgraph/protos/pb.(*raftHeartbeatClient).Recv(0xc0249c0140, 0x83addc3015, 0x24842c0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4850 +0x62 github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat(0xc024978750, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:227 +0x1e5 github.com/dgraph-io/dgraph/conn.(*Pool).MonitorHealth(0xc024978750) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:250 +0xce created by github.com/dgraph-io/dgraph/conn.newPool /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:179 +0x402 goroutine 74 [chan receive, 9 minutes]: google.golang.org/grpc.(*addrConn).resetTransport(0xc00026a500) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/clientconn.go:1077 +0x6ac created by google.golang.org/grpc.(*addrConn).connect /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/clientconn.go:743 +0x120 goroutine 90 [select, 9 minutes]: google.golang.org/grpc.newClientStream.func5(0xc00085a700, 0xc0249ac120, 0x1a84a60, 0xc0248ae4b0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:319 +0xd7 created by google.golang.org/grpc.newClientStream /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:318 +0x9a5 goroutine 91 [select, 9 minutes]: github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat.func1(0x1a849a0, 0xc024824400, 0xc0249785b0, 0xc00006b870) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:218 +0xc7 created by github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:217 +0x1c3 goroutine 883 [select, 9 minutes]: google.golang.org/grpc.newClientStream.func5(0xc000876700, 0xc0249ac360, 0x1a84a60, 0xc0248ae840) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:319 +0xd7 created by google.golang.org/grpc.newClientStream /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:318 +0x9a5 goroutine 77 [runnable]: internal/poll.runtime_pollWait(0x7f8a98996af8, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc024a1c118, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc024a1c100, 0xc024a24000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc024a1c100, 0xc024a24000, 0x8000, 0x8000, 0x0, 0x800000601, 0x0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc024a1e008, 0xc024a24000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc0249ca240, 0xc024a3c038, 0x9, 0x9, 0x20, 0x18, 0x17667a0) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc0249ca240, 0xc024a3c038, 0x9, 0x9, 0x9, 0x100000000d1dd25, 0x0, 0x9) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc024a3c038, 0x9, 0x9, 0x1a58c40, 0xc0249ca240, 0x0, 0xc000000000, 0x950298, 0xc0249c21a0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc024a3c000, 0xc03ba87180, 0xc03ba87180, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc024a42000) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:1249 +0x196 created by google.golang.org/grpc/internal/transport.newHTTP2Client /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:289 +0xd75 goroutine 78 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0249c2190, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0249ca3c0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Client.func3(0xc024a42000) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:333 +0x7b created by google.golang.org/grpc/internal/transport.newHTTP2Client /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_client.go:331 +0xf12 goroutine 79 [select, 9 minutes]: google.golang.org/grpc.newClientStream.func5(0xc00085aa80, 0xc000394360, 0x1a84a60, 0xc0248905d0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:319 +0xd7 created by google.golang.org/grpc.newClientStream /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:318 +0x9a5 goroutine 80 [select, 9 minutes]: github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat.func1(0x1a849a0, 0xc023ab5c40, 0xc024978750, 0xc00016b1b0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:218 +0xc7 created by github.com/dgraph-io/dgraph/conn.(*Pool).listenToHeartbeat /tmp/go/src/github.com/dgraph-io/dgraph/conn/pool.go:217 +0x1c3 goroutine 45 [select]: github.com/dgraph-io/badger/v2/y.(*WaterMark).process(0xc024984430, 0x0) /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:229 +0x2e6 created by github.com/dgraph-io/badger/v2/y.(*WaterMark).Init /tmp/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-0.20191220102048-ab4352b00a17/y/watermark.go:78 +0xa6 goroutine 1114 [select]: github.com/dgraph-io/dgraph/worker.(*groupi).processOracleDeltaStream(0x2484640) /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:976 +0x19a created by github.com/dgraph-io/dgraph/worker.StartRaftNodes /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:157 +0x77a goroutine 1112 [select]: github.com/dgraph-io/dgraph/worker.(*groupi).sendMembershipUpdates(0x2484640) /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:714 +0x1df created by github.com/dgraph-io/dgraph/worker.StartRaftNodes /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:155 +0x732 goroutine 1110 [select]: github.com/dgraph-io/dgraph/worker.(*node).checkpointAndClose(0xc02498e420, 0xc0249b8c00) /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:707 +0x11d created by github.com/dgraph-io/dgraph/worker.(*node).Run /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:790 +0x11e goroutine 1109 [runnable]: github.com/dgraph-io/dgraph/worker.(*node).Run(0xc02498e420) /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:802 +0xcc5 created by github.com/dgraph-io/dgraph/worker.(*node).InitAndStartNode /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:1474 +0x50a goroutine 1108 [chan receive]: github.com/dgraph-io/dgraph/conn.(*Node).BatchAndSendMessages(0xc024984360) /tmp/go/src/github.com/dgraph-io/dgraph/conn/node.go:347 +0x5c1 created by github.com/dgraph-io/dgraph/worker.(*node).InitAndStartNode /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:1473 +0x4e5 goroutine 1107 [select]: github.com/dgraph-io/dgraph/worker.(*node).processApplyCh(0xc02498e420) /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:516 +0x218 created by github.com/dgraph-io/dgraph/worker.(*node).InitAndStartNode /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:1472 +0x4bd goroutine 1113 [select]: github.com/dgraph-io/dgraph/worker.(*groupi).receiveMembershipUpdates(0x2484640) /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:802 +0x200 created by github.com/dgraph-io/dgraph/worker.StartRaftNodes /tmp/go/src/github.com/dgraph-io/dgraph/worker/groups.go:156 +0x756 goroutine 1106 [select, 5 minutes]: github.com/dgraph-io/dgraph/worker.(*node).processRollups(0xc02498e420) /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:430 +0x1b5 created by github.com/dgraph-io/dgraph/worker.(*node).InitAndStartNode /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:1471 +0x498 goroutine 1101 [select]: github.com/dgraph-io/dgraph/conn.(*Node).doSendMessage(0xc024984360, 0x2, 0xc024fe81e0, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/node.go:468 +0x4b1 github.com/dgraph-io/dgraph/conn.(*Node).streamMessages(0xc024984360, 0x2, 0xc024aeabe0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/node.go:413 +0x1b2 created by github.com/dgraph-io/dgraph/conn.(*Node).BatchAndSendMessages /tmp/go/src/github.com/dgraph-io/dgraph/conn/node.go:386 +0x51a goroutine 890 [runnable]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0001f9e50, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc024e2e4e0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc00078be00) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:283 +0xcb created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:280 +0xfbe goroutine 892 [runnable]: internal/poll.runtime_pollWait(0x7f8a98996958, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc024972d18, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc024972d00, 0xc024f8c000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc024972d00, 0xc024f8c000, 0x8000, 0x8000, 0x4, 0xc024b46d50, 0xc00077c600) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc02482a318, 0xc024f8c000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc024b117a0, 0xc024f84118, 0x9, 0x9, 0xc024b46d00, 0xd488e2, 0xc00078bf01) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc024b117a0, 0xc024f84118, 0x9, 0x9, 0x9, 0xc03b94b710, 0x0, 0x0) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc024f84118, 0x9, 0x9, 0x1a58c40, 0xc024b117a0, 0x0, 0x0, 0x5924fa4000, 0x5900000001) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc024f840e0, 0xc024fa4000, 0xc024fa4000, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc00078be00, 0xc024f47b60, 0x18f0d20) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:440 +0x9e google.golang.org/grpc.(*Server).serveStreams(0xc024838000, 0x1a927c0, 0xc00078be00) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:706 +0xf3 google.golang.org/grpc.(*Server).handleRawConn.func1(0xc024838000, 0x1a927c0, 0xc00078be00) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:668 +0x3f created by google.golang.org/grpc.(*Server).handleRawConn /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:667 +0x562 goroutine 894 [select]: github.com/dgraph-io/dgraph/conn.(*RaftServer).Heartbeat(0x2482960, 0xc024824e80, 0x1a8e2c0, 0xc024f41260, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/raft_server.go:298 +0x37f github.com/dgraph-io/dgraph/protos/pb._Raft_Heartbeat_Handler(0x17818e0, 0x2482960, 0x1a8bfe0, 0xc024d32e40, 0xc0000b7ef8, 0xc024dd0200) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4942 +0x109 google.golang.org/grpc.(*Server).processStreamingRPC(0xc024838000, 0x1a927c0, 0xc00078bc80, 0xc024dd0200, 0xc00016d9e0, 0x228f2e0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1199 +0xb2e google.golang.org/grpc.(*Server).handleStream(0xc024838000, 0x1a927c0, 0xc00078bc80, 0xc024dd0200, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1279 +0xd30 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc024f49430, 0xc024838000, 0x1a927c0, 0xc00078bc80, 0xc024dd0200) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:710 +0xbb created by google.golang.org/grpc.(*Server).serveStreams.func1 /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:708 +0xa1 goroutine 1096 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc024f8a3c0, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc024b11860, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc00081ad80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:283 +0xcb created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:280 +0xfbe goroutine 81 [select]: go.etcd.io/etcd/raft.(*node).run(0xc0249ca780, 0xc024b40000) /tmp/go/pkg/mod/go.etcd.io/etcd@v0.0.0-20190228193606-a943ad0ee4c9/raft/node.go:342 +0x4c1 created by go.etcd.io/etcd/raft.RestartNode /tmp/go/pkg/mod/go.etcd.io/etcd@v0.0.0-20190228193606-a943ad0ee4c9/raft/node.go:246 +0x31b goroutine 887 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0001f9d60, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc024e2e1e0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc00078bc80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:283 +0xcb created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:280 +0xfbe goroutine 6353 [IO wait]: internal/poll.runtime_pollWait(0x7f8a989967b8, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc023e77718, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc023e77700, 0xc023bf4000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc023e77700, 0xc023bf4000, 0x8000, 0x8000, 0x0, 0x800010601, 0x0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0249ce430, 0xc023bf4000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc025ed4000, 0xc0248ac3b8, 0x9, 0x9, 0x9cc4aa, 0x8000000000000000, 0x83a91da048) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc025ed4000, 0xc0248ac3b8, 0x9, 0x9, 0x9, 0xd1dd25, 0xc023bccf18, 0xc024fd0e38) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc0248ac3b8, 0x9, 0x9, 0x1a58c40, 0xc025ed4000, 0x0, 0x0, 0x7070e0910100402, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc0248ac380, 0xc03bf6c980, 0xc03bf6c980, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc000743c80, 0xc02701a6f0, 0x18f0d20) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:440 +0x9e google.golang.org/grpc.(*Server).serveStreams(0xc00039c420, 0x1a927c0, 0xc000743c80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:706 +0xf3 google.golang.org/grpc.(*Server).handleRawConn.func1(0xc00039c420, 0x1a927c0, 0xc000743c80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:668 +0x3f created by google.golang.org/grpc.(*Server).handleRawConn /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:667 +0x562 goroutine 6351 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc023bcceb0, 0x1, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:395 +0x122 google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc025eb2240, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/controlbuf.go:513 +0x1e3 google.golang.org/grpc/internal/transport.newHTTP2Server.func2(0xc000743c80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:283 +0xcb created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:280 +0xfbe goroutine 1128 [select, 9 minutes]: google.golang.org/grpc.newClientStream.func5(0xc00085aa80, 0xc02518c000, 0x1a84a60, 0xc025170870) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:319 +0xd7 created by google.golang.org/grpc.newClientStream /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:318 +0x9a5 goroutine 889 [IO wait]: internal/poll.runtime_pollWait(0x7f8a98996a28, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc024972c98, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc024972c80, 0xc024f6c000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc024972c80, 0xc024f6c000, 0x8000, 0x8000, 0x0, 0x800000601, 0x0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc02482a310, 0xc024f6c000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc024b11740, 0xc024f84038, 0x9, 0x9, 0xc024b45d10, 0x950298, 0x20) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc024b11740, 0xc024f84038, 0x9, 0x9, 0x9, 0xc024b45dc8, 0xc024b45d70, 0xc024b45e38) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc024f84038, 0x9, 0x9, 0x1a58c40, 0xc024b11740, 0x0, 0x8300000000, 0xc03ba86f60, 0x20) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc024f84000, 0xc03ba86f60, 0xc03ba86f60, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc00078bc80, 0xc024f47a40, 0x18f0d20) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:440 +0x9e google.golang.org/grpc.(*Server).serveStreams(0xc024838000, 0x1a927c0, 0xc00078bc80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:706 +0xf3 google.golang.org/grpc.(*Server).handleRawConn.func1(0xc024838000, 0x1a927c0, 0xc00078bc80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:668 +0x3f created by google.golang.org/grpc.(*Server).handleRawConn /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:667 +0x562 goroutine 891 [select, 9 minutes]: google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc00078be00) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:943 +0x218 created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:289 +0xfe3 goroutine 888 [select, 9 minutes]: google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc00078bc80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:943 +0x218 created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:289 +0xfe3 goroutine 6352 [select]: google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc000743c80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:943 +0x218 created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:289 +0xfe3 goroutine 1099 [select]: github.com/dgraph-io/dgraph/conn.(*RaftServer).Heartbeat(0x2482960, 0xc024975000, 0x1a8e2c0, 0xc024aeaa60, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/raft_server.go:298 +0x37f github.com/dgraph-io/dgraph/protos/pb._Raft_Heartbeat_Handler(0x17818e0, 0x2482960, 0x1a8bfe0, 0xc024a77380, 0xc0000b7ef8, 0xc024ab6200) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4942 +0x109 google.golang.org/grpc.(*Server).processStreamingRPC(0xc024838000, 0x1a927c0, 0xc00081ad80, 0xc024ab6200, 0xc00016d9e0, 0x228f2e0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1199 +0xb2e google.golang.org/grpc.(*Server).handleStream(0xc024838000, 0x1a927c0, 0xc00081ad80, 0xc024ab6200, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1279 +0xd30 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00084edc0, 0xc024838000, 0x1a927c0, 0xc00081ad80, 0xc024ab6200) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:710 +0xbb created by google.golang.org/grpc.(*Server).serveStreams.func1 /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:708 +0xa1 goroutine 1097 [select, 9 minutes]: google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc00081ad80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:943 +0x218 created by google.golang.org/grpc/internal/transport.newHTTP2Server /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:289 +0xfe3 goroutine 1098 [IO wait]: internal/poll.runtime_pollWait(0x7f8a98996888, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002e7118, 0x72, 0x8000, 0x8000, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0002e7100, 0xc024fb0000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc0002e7100, 0xc024fb0000, 0x8000, 0x8000, 0x0, 0x800000601, 0x0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc000130158, 0xc024fb0000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 bufio.(*Reader).Read(0xc024e2e960, 0xc0248ac118, 0x9, 0x9, 0xc024cecd10, 0x950298, 0x20) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1a58c40, 0xc024e2e960, 0xc0248ac118, 0x9, 0x9, 0x9, 0xc024cecdc8, 0xc024cecd70, 0xc024cece38) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 golang.org/x/net/http2.readFrameHeader(0xc0248ac118, 0x9, 0x9, 0x1a58c40, 0xc024e2e960, 0x0, 0x8300000000, 0xc03bf6ca80, 0x20) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:237 +0x87 golang.org/x/net/http2.(*Framer).ReadFrame(0xc0248ac0e0, 0xc03bf6ca80, 0xc03bf6ca80, 0x0, 0x0) /tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20191209160850-c0dbc17a3553/http2/frame.go:492 +0xa1 google.golang.org/grpc/internal/transport.(*http2Server).HandleStreams(0xc00081ad80, 0xc024fa42d0, 0x18f0d20) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/http2_server.go:440 +0x9e google.golang.org/grpc.(*Server).serveStreams(0xc024838000, 0x1a927c0, 0xc00081ad80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:706 +0xf3 google.golang.org/grpc.(*Server).handleRawConn.func1(0xc024838000, 0x1a927c0, 0xc00081ad80) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:668 +0x3f created by google.golang.org/grpc.(*Server).handleRawConn /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:667 +0x562 goroutine 1100 [runnable]: github.com/dgraph-io/dgraph/conn.(*RaftServer).Heartbeat(0x2482960, 0xc0249751c0, 0x1a8e2c0, 0xc024aeab90, 0x0, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/conn/raft_server.go:298 +0x37f github.com/dgraph-io/dgraph/protos/pb._Raft_Heartbeat_Handler(0x17818e0, 0x2482960, 0x1a8bfe0, 0xc024a77440, 0xc0000b7ef8, 0xc024ab6300) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4942 +0x109 google.golang.org/grpc.(*Server).processStreamingRPC(0xc024838000, 0x1a927c0, 0xc00078be00, 0xc024ab6300, 0xc00016d9e0, 0x228f2e0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1199 +0xb2e google.golang.org/grpc.(*Server).handleStream(0xc024838000, 0x1a927c0, 0xc00078be00, 0xc024ab6300, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1279 +0xd30 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc024f49450, 0xc024838000, 0x1a927c0, 0xc00078be00, 0xc024ab6300) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:710 +0xbb created by google.golang.org/grpc.(*Server).serveStreams.func1 /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:708 +0xa1 goroutine 110 [runnable]: google.golang.org/grpc/internal/transport.(*recvBufferReader).read(0xc024df8d20, 0xc024f6a770, 0x5, 0x5, 0xb700000000af8957, 0x0, 0x18f1b70) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:173 +0xc7 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc024df8d20, 0xc024f6a770, 0x5, 0x5, 0xc024ff9940, 0xc024f5e640, 0xc024ff9630) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:167 +0x21a google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc024de3f20, 0xc024f6a770, 0x5, 0x5, 0xc024ff9658, 0xc024ff9658, 0xd4d65c) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:488 +0x55 io.ReadAtLeast(0x1a5a3e0, 0xc024de3f20, 0xc024f6a770, 0x5, 0x5, 0x5, 0x11, 0x0, 0x0) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc024f54300, 0xc024f6a770, 0x5, 0x5, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/internal/transport/transport.go:472 +0xc7 google.golang.org/grpc.(*parser).recvMsg(0xc024f6a760, 0x100000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:508 +0x63 google.golang.org/grpc.recvAndDecompress(0xc024f6a760, 0xc024f54300, 0x0, 0x0, 0x100000000, 0xc024ff99b8, 0x1a7fa60, 0x24a1bb0, 0x992d68, 0xc024ff9a98, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:639 +0x4d google.golang.org/grpc.recv(0xc024f6a760, 0x7f8a9895e5f8, 0x24a1bb0, 0xc024f54300, 0x0, 0x0, 0x18289c0, 0xc03ebd61e0, 0x100000000, 0xc024ff99b8, ...) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/rpc_util.go:684 +0x9b google.golang.org/grpc.(*serverStream).RecvMsg(0xc024f560c0, 0x18289c0, 0xc03ebd61e0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/stream.go:1474 +0x170 github.com/dgraph-io/dgraph/protos/pb.(*raftRaftMessageServer).Recv(0xc024f62800, 0x21, 0x30, 0x0) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4978 +0x62 github.com/dgraph-io/dgraph/conn.(*RaftServer).RaftMessage(0x2482960, 0x1a90d80, 0xc024f62800, 0x1a84c20, 0x2482960) /tmp/go/src/github.com/dgraph-io/dgraph/conn/raft_server.go:249 +0x206 github.com/dgraph-io/dgraph/protos/pb._Raft_RaftMessage_Handler(0x17818e0, 0x2482960, 0x1a8bfe0, 0xc024f560c0, 0xc0000b7ef8, 0xc024f54300) /tmp/go/src/github.com/dgraph-io/dgraph/protos/pb/pb.pb.go:4959 +0xad google.golang.org/grpc.(*Server).processStreamingRPC(0xc024838000, 0x1a927c0, 0xc00078be00, 0xc024f54300, 0xc00016d9e0, 0x228f300, 0x0, 0x0, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1199 +0xb2e google.golang.org/grpc.(*Server).handleStream(0xc024838000, 0x1a927c0, 0xc00078be00, 0xc024f54300, 0x0) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:1279 +0xd30 google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc024f49450, 0xc024838000, 0x1a927c0, 0xc00078be00, 0xc024f54300) /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:710 +0xbb created by google.golang.org/grpc.(*Server).serveStreams.func1 /tmp/go/pkg/mod/google.golang.org/grpc@v1.23.0/server.go:708 +0xa1 ```
after another test the server crashed again. how would you like to check it out? here is some screenshots
16G Ram , 4 CPU
1Zero - 3Alpha
"uid" filtering is fine while other filtering like type filtering and equality filtering "eq" are failed.
it sounds like a bug.
dgraph alpha logs
Github issues have been deprecated. This issue has been moved to discuss. You can follow the conversation there and also subscribe to updates by changing your notification preferences.
What version of Dgraph are you using?
v1.2.2
Have you tried reproducing the issue with the latest release?
No
What is the hardware spec (RAM, OS)?
ubuntu 18.04 - CPU 4Core - 8GB Ram
Dgraph configurations
they registered as service in /etc/systemd/system/dg0.service and ... for example
1 Zero [ { "my": "localhost:5080", "replicas": 3, "wal": "/db/z0/zw" } ] 3 Alphas [ { "my": "localhost:7080", "zero": "localhost:5080", "lru_mb": 2048, "postings": "/db/a0/p", "wal": "/db/a0/w" },{ "my": "localhost:7079", "zero": "localhost:5080", "lru_mb": 2048, "postings": "/db/a1/p", "wal": "/db/a1/w", "port_offset": -1 },{ "my": "localhost:7078", "zero": "localhost:5080", "lru_mb": 2048, "postings": "/db/a2/p", "wal": "/db/a2/w", "port_offset": -2 } ]
Expected behaviour and actual result.
current Dgraph index 0x16993f I have a really edgy and complicated data including 2000 exams and ~50000 Questions and 200000 choices. each node has a ~owner . in other word there is a person who owned all those nodes. there are some other things he owed too. i've got nothing when runing:
bot i have this one
and this one
It happened to me twice and i restore from backup each time. i zipped the p&w and also export the database after crashing and zipped it to and here they are the exported data is not complete. i mean don't contain the whole data. so i couldn't restore it. export.zip w.1.zip the p.1.zip
Main Questions
fixing data is not important . the most important thing is that what should i do to prevent this happen again?
can Simultaneous requests cause this?