Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

master: panic during calculateTabletSizes #4986

Closed
danielmai opened this issue Mar 20, 2020 · 1 comment
Closed

master: panic during calculateTabletSizes #4986

danielmai opened this issue Mar 20, 2020 · 1 comment
Labels
area/crash Dgraph issues that cause an operation to fail, or the whole server to crash. status/accepted We accept to investigate/work on it.

Comments

@danielmai
Copy link
Contributor

What version of Dgraph are you using?

built from the release/v20.03 branch

Dgraph version   : v20.03-beta.20200319
Dgraph SHA-256   : 6519578d8ff386e99f40f63f97945f1f9991bf13232aa029ebdf124c342e3a86
Commit SHA-1     : 9b483c31
Commit timestamp : 2020-03-19 17:51:46 -0700
Branch           : release/v20.03
Go version       : go1.14.1

Have you tried reproducing the issue with the latest release?

this is the latest master.

What is the hardware spec (RAM, OS)?

Ubuntu Linux

Steps to reproduce the issue (command/config used to run Dgraph).

  1. Run 1 Zero and 1 Alpha
  2. Run some mutations (use dgraph increment).
  3. This panic happens in Alpha
panic: runtime error: slice bounds out of range [:25185] with capacity 29

goroutine 271 [running]:
github.com/dgraph-io/dgraph/x.Parse(0xc00081c280, 0x14, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /tmp/go/src/github.com/dgraph-io/dgraph/x/keys.go:451 +0xced
github.com/dgraph-io/dgraph/worker.(*node).calculateTabletSizes(0xc0003052d0)
        /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:1176 +0x5b2
github.com/dgraph-io/dgraph/worker.(*node).processTabletSizes(0xc0003052d0)
        /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:553 +0xbb
created by github.com/dgraph-io/dgraph/worker.(*node).InitAndStartNode
        /tmp/go/src/github.com/dgraph-io/dgraph/worker/draft.go:1546 +0x498

Expected behaviour and actual result.

This panic shouldn't happen.

Looks related to #4972.

@danielmai danielmai added status/accepted We accept to investigate/work on it. area/crash Dgraph issues that cause an operation to fail, or the whole server to crash. labels Mar 20, 2020
@minhaj-shakeel
Copy link
Contributor

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.

drawing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/crash Dgraph issues that cause an operation to fail, or the whole server to crash. status/accepted We accept to investigate/work on it.
Development

No branches or pull requests

2 participants