Skip to content

【meta】【copyfilerange】chunk slices append should check slices exists like meta write operation #6409

@penglaixy99

Description

@penglaixy99

What would you like to be added:

with copyfileranges operations, before append, chunk slices value should check whether the appending slice already exist in the chunk slice value.

Why is this needed:

we have met a problem, some applications (e.x vscode) use copyfilerange operations, application then operater into some exception state, then send the same copyfilerange commands for a long time. Then the dst inodes one chunk slice increased to more than 8MB, kv value 8MB! It's so big and tikv server IO utils increased to 100%. All the meta service latency increase!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions