Skip to content

[Feature](binlog): keep row binlog tablet locality during scheduling #65978

Description

@AntiTopQuark

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Each row binlog tablet must be located on the same backend and storage path as its corresponding base tablet. However, replica repair, relocation, or balancing may schedule them independently and break this locality, causing insufficient valid replica pairs and load failures.
The scheduler should preserve base/binlog tablet locality during replica creation, repair, relocation, and deletion.

Use case

For tables with row binlog enabled, backend failures, disk failures, balancing, and decommissioning should not break the base/binlog tablet pairing. After scheduling, every row binlog replica should remain on the same backend and storage path as its base replica, ensuring that writes and binlog reads remain available.

Related issues

#65265
#65804
#62058

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions