Skip to content

Add Support for "Built In Placement Policies" #29677

@morgo

Description

@morgo

This subtask is to implement this part of the technical design doc:

Built-in Placement Policies

By default every system will have two placement policies, which can be modified via ALTER PLACEMENT POLICY but never dropped:

  • default: This policy is used only in the event that a policy has not been specified.
  • system: This policy is used for internal TiDB system tables.

Some common applications might be to increase the replica count on system or default tables. It is not typically recommended to add constraints to these policies as it will lead to cluster inbalance, but it is possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions