Skip to content

CDC message batching is too aggressive and may exceed the default memory quota  #11082

@overvenus

Description

@overvenus

Bug Report

What version of TiKV are you using?

v5.1.1

Steps to reproduce

1 tikv(ssd) 1 cdc(hdd) cluster.
Set tidb gc lifetime to 2400h.
Sysbench prepare 10 tables, 100GB data.
Create a changefeed start-ts = gcsafepoint+1

What did you expect?

Memory consumption should be not exceed the default memory quota(512MB).

What did happened?

CDC message batching is too aggressive and may exceed the default memory quota. It causes eventfeed RPC meltdown.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/CDCComponent: Change Data Capturetype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions