Skip to content

Unable to parse key: Invalid size for key #5026

@danielmai

Description

@danielmai

What version of Dgraph are you using?

v20.03.0-beta.20200320 and master

Have you tried reproducing the issue with the latest release?

Haven't tried on the latest release (v1.2.2).

What is the hardware spec (RAM, OS)?

macOS, 16 GB.

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

  1. Run 1 Zero and 1 Alpha with -v=2 log level.
  2. Run some queries and mutations (I used dgraph increment).
  3. See this appear in the logs every time there's a tablet size calculation.
I0324 14:46:36.450146    5348 draft.go:819] [0x1] Set Raft progress to index: 40.
I0324 14:48:36.476935    5348 draft.go:1169] Calculating tablet sizes. Found 1 tables
I0324 14:48:36.477004    5348 draft.go:1178] Unable to parse key: Invalid size 25185 for key [33 98 97 100 103 101 114 33 104 101 97 100 255 255 255 255 255 255 255 254]

Expected behaviour and actual result.

The info log showing that a key couldn't be parsed shouldn't happen.

Metadata

Metadata

Assignees

Labels

kind/bugSomething is broken.priority/P1Serious issue that requires eventual attention (can wait a bit)status/acceptedWe accept to investigate/work on it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions