Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG]: Alpha can't reach zero and panics #9107

Open
droslean opened this issue Jul 1, 2024 · 0 comments
Open

[BUG]: Alpha can't reach zero and panics #9107

droslean opened this issue Jul 1, 2024 · 0 comments
Labels
kind/bug Something is broken.

Comments

@droslean
Copy link

droslean commented Jul 1, 2024

What version of Dgraph are you using?

v24.0.0

Tell us a little more about your go-environment?

No response

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

Kubernetes

What steps will reproduce the bug?

Use the v24.0.0 version?

Expected behavior and actual result.

No response

Additional information

E0701 14:00:12.248700      21 pool.go:314] CONN: Unable to connect with dgraph-alpha-0.dgraph-alpha.dgraph-prod.svc.cluster.local:7080 : rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.244.5.82:7080: connect: connection refused"
I0701 14:00:12.615829      21 groups.go:954] Leader idx=0x3 of group=1 is connecting to Zero for txn updates
I0701 14:00:12.615902      21 groups.go:966] Got Zero leader: dgraph-zero-0.dgraph-zero.dgraph-prod.svc.cluster.local:5080
W0701 14:00:12.660051      21 server.go:1219] error in sending grpc headers: rpc error: code = Canceled desc = context canceled
W0701 14:00:12.666958      21 server.go:1219] error in sending grpc headers: rpc error: code = Canceled desc = context canceled
W0701 14:00:12.667978      21 server.go:1219] error in sending grpc headers: rpc error: code = Canceled desc = context canceled
W0701 14:00:12.669245      21 server.go:1219] error in sending grpc headers: rpc error: code = Canceled desc = context canceled
W0701 14:00:12.669824      21 server.go:1219] error in sending grpc headers: rpc error: code = Canceled desc = context canceled
panic: runtime error: index out of range [1] with length 1

goroutine 1018 [running]:
github.com/dgraph-io/dgraph/x.ParseAttr(...)
	/home/runner/work/dgraph/dgraph/x/keys.go:120
github.com/dgraph-io/dgraph/query.expandSubgraph({0x25364c8, 0xc005a7e210}, 0xc005440f08)
	/home/runner/work/dgraph/dgraph/query/query.go:2032 +0x1115
github.com/dgraph-io/dgraph/query.ProcessGraph({0x25364c8, 0xc005a7e210}, 0xc005440f08, 0x0, 0xc00bf5f7a0)
	/home/runner/work/dgraph/dgraph/query/query.go:2332 +0x17c5
created by github.com/dgraph-io/dgraph/query.(*Request).ProcessQuery in goroutine 1010
	/home/runner/work/dgraph/dgraph/query/query.go:2890 +0xc7d
[Sentry] 2024/07/01 14:00:12 Sending fatal event [44a01ad5700b44b581b1299c006fd2d8] to o318308.ingest.sentry.io project: 1805390
[Sentry] 2024/07/01 14:00:12 Too many requests, backing off till: 2024-07-01 14:01:12.866703032 +0000 UTC m=+106.740155649
[Sentry] 2024/07/01 14:00:12 Buffer flushed successfully.

This is happening only on v24.0.0 and v23.1.1 (which I tried). On v22.0.2 everything works fine.

@droslean droslean added the kind/bug Something is broken. label Jul 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Something is broken.
Development

No branches or pull requests

1 participant