Skip to content

Azureblob upload may be slow when reading from non-memory source #18410

@YuJuncen

Description

@YuJuncen

Bug Report

What version of TiKV are you using?

Current master

What operating system and CPU are you using?

not relative

Steps to reproduce

  1. Enable a backup to azure blob storage.
  2. Write enough contents to TiKV.
  3. Wait a flush.

What did you expect?

Flush should be finished in a reasonable time.

What did happened?

A 400MiB flush takes about 17m. A cpu core was fully used during flushing.

probably cc #13674

reader.read_to_end(&mut data).await?;

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.component/backup-restoreComponent: backup, import, external_storageseverity/majortype/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