Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

dumpling v5.+ may dump partitioned tables incorrectly because the result of tablesample is inordered #334

@lichunzhu

Description

@lichunzhu

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

More details see pingcap/tidb#27349

  1. What did you expect to see?

Dumpling dump data correctly.

  1. What did you see instead?

Some data are lost and some are duplicated.

  1. Versions of the cluster

    • Dumpling version (run dumpling -V):

      All v5.0.+, v5.1.+, v5.2.+

    • Source database version (execute SELECT version(); in a MySQL client):

      All v5.0.+, v5.1.+, v5.2.+

Metadata

Metadata

Assignees

No one assigned

    Labels

    severity/majorThis issue is a major bugtype/bugThis issue is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions