Skip to content

The size of BatchScanRegionsRequest might exceed the default MaxRequestBytes #1704

@zyguan

Description

@zyguan

The size of BatchScanRegionsRequest might exceed the default MaxRequestBytes (150MiB) when there are a lot of key ranges waiting for scan. The related messages are shown as the following.

grpc:received message larger than max(297800997 vs 157810688)
pdrpc backoffer.maxsleep 20000ms is exceeded,errors:batchScanRegion from PD failed,range num:1059860,limit:128

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-8.5This bug affects the 8.5.x(LTS) versions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions