Skip to content

br cannot presplit regions for table with SHARD_ROW_ID_BITS and PRE_SPLIT_REGIONS and merge_option #65060

@Leavrth

Description

@Leavrth

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. create table
create table test.t1 (a int, b int) SHARD_ROW_ID_BITS=2 PRE_SPLIT_REGIONS=2;
alter table test.t1 attributes "merge_option=deny";
  1. snapshot backup and restore

2. What did you expect to see? (Required)

show table test.t1 regions;
select * from information_schema.attributes from test.t1;

3. What did you see instead (Required)

nothing

4. What is your TiDB version? (Required)

master

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/brThis issue is related to BR of TiDB.severity/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