-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
priority/P1Serious issue that requires eventual attention (can wait a bit)Serious issue that requires eventual attention (can wait a bit)status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Description
What version of Dgraph are you using?
v1.1.0
Have you tried reproducing the issue with the latest release?
No
What is the hardware spec (RAM, OS)?
kubernetes on GCP - large nodes but that should not matter.
Steps to reproduce the issue (command/config used to run Dgraph).
default setup from helm chart in contrib/ - no overrides used.
do a search ala:
{
query(func: eq(projectid,"blah")) @filter(has(myfield) AND match(name,"MyCluster1",8)) {
expand(_all_)
}
}
Expected behaviour and actual result.
expected: returns nodes that match the query and filter
actual:
panic: runtime error: index out of range
goroutine 1744 [running]:
github.com/dgraph-io/dgraph/worker.(*queryState).handleUidPostings.func1(0x0, 0x1b, 0xc011f67b00, 0x9d9dc6)
/tmp/go/src/github.com/dgraph-io/dgraph/worker/task.go:614 +0x15cc
github.com/dgraph-io/dgraph/worker.(*queryState).handleUidPostings.func2(0xc011ba13e0, 0xc011bc8500, 0x0, 0x1b)
/tmp/go/src/github.com/dgraph-io/dgraph/worker/task.go:691 +0x3a
created by github.com/dgraph-io/dgraph/worker.(*queryState).handleUidPostings
/tmp/go/src/github.com/dgraph-io/dgraph/worker/task.go:690 +0x3b3
One interesting thing to note is I only will get this to blow up 1/x times - which probably means when the API call hits one of the specific alpha servers. Its possible its environmental to the state of a server but I figured its a bug no matter what since we probably should not be panicking.
Metadata
Metadata
Assignees
Labels
priority/P1Serious issue that requires eventual attention (can wait a bit)Serious issue that requires eventual attention (can wait a bit)status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.