-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.severity/moderatetype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
What version of TiKV are you using?
v6.5.3
Steps to reproduce
- set placement-rule:
[
{
"group_id": "pd",
"id": "1",
"start_key": "",
"end_key": "",
"role": "voter",
"is_witness": false,
"count": 2,
"label_constraints": [
{
"key": "disk_type",
"op": "in",
"values": [
"ssd"
]
}
],
"location_labels": [
"host"
],
"isolation_level": "host",
"create_timestamp": 1706696121
},
{
"group_id": "pd",
"id": "2",
"start_key": "",
"end_key": "",
"role": "follower",
"is_witness": false,
"count": 1,
"label_constraints": [
{
"key": "disk_type",
"op": "in",
"values": [
"mix"
]
}
],
"location_labels": [
"host"
],
"isolation_level": "host",
"create_timestamp": 1706696121
}
]
- Start 8 tikv nodes, where 3 nodes are labeled
disk_type=mix
, and the other 5 nodes are labeleddisk_type=ssd
. Then load data and observe that there is no leader on themix
node, which is expected.
- force scale-in one
mix
node, find there are lots ofdown-peer
not recover
- disable placement-rule, then
down-peer
starts to recover
Is this caused by my wrong placement policy or a bug of placement-rule?
Metadata
Metadata
Assignees
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.severity/moderatetype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Type
Projects
Status
Closed