Skip to content

Failed to parse the begin key of a given keyspace #15

@JaySon-Huang

Description

@JaySon-Huang
> ./pd-ctl -i
» region 2988366876
{
  "id": 2988366876,
  "start_key": "78000DA200000000FB",
  "end_key": "78000DA274800000FF00000000535F7200FE",
  ...
  "buckets": [
    "78000DA200000000FB",
    "78000DA274800000FF000000003C5F7280FF000000008ED2A800FE",
    "78000DA274800000FF00000000535F7200FE"
  ]
}

mok failed to parse the begin key of it

>  mok 78000DA200000000FB
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0x140208803d0 stack=[0x14020880000, 0x14040880000]
fatal error: stack overflow

runtime stack:
runtime.throw({0x1036a717b?, 0x104032a20?})
	/opt/homebrew/Cellar/go/1.19.6/libexec/src/runtime/panic.go:1047 +0x40 fp=0x16d496d50 sp=0x16d496d20 pc=0x102e8bab0
runtime.newstack()
	/opt/homebrew/Cellar/go/1.19.6/libexec/src/runtime/stack.go:1103 +0x464 fp=0x16d496f00 sp=0x16d496d50 pc=0x102ea5094
runtime.morestack()
	/opt/homebrew/Cellar/go/1.19.6/libexec/src/runtime/asm_arm64.s:316 +0x70 fp=0x16d496f00 sp=0x16d496f00 pc=0x102eb9560

goroutine 1 [running]:
runtime.heapBitsSetType(0x1401b202400?, 0x40?, 0x40?, 0x10397ffe0?)
	/opt/homebrew/Cellar/go/1.19.6/libexec/src/runtime/mbitmap.go:844 +0x980 fp=0x140208803d0 sp=0x140208803d0 pc=0x102e692d0
runtime.mallocgc(0x40, 0x10397ffe0, 0x1)
	/opt/homebrew/Cellar/go/1.19.6/libexec/src/runtime/malloc.go:1050 +0x63c fp=0x14020880440 sp=0x140208803d0 pc=0x102e609cc
runtime.newobject(0x1041fd8b0?)
	/opt/homebrew/Cellar/go/1.19.6/libexec/src/runtime/malloc.go:1202 +0x2c fp=0x14020880470 sp=0x14020880440 pc=0x102e60dcc
main.N(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions