pingcap / pingcap/tidb

Unstable test TestMultiSchemaPartitionByGlobalIndex

Open
#62,454 1 comment 0 reactions 0 assignees View on GitHub
component/test severity/moderate sig/sql-infra type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

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

### 3. What did you see instead (Required)
```
multi_domain_test.go:996:
Error Trace: pkg/ddl/tests/partition/multi_domain_test.go:996
pkg/ddl/tests/partition/multi_domain_test.go:827
pkg/ddl/tests/partition/multi_domain_test.go:577
Error: Should be false
Test: TestMultiSchemaPartitionByGlobalIndex
Messages: Old table id 114 has still entries!
--- FAIL: TestMultiSchemaPartitionByGlobalIndex (2.86s)
```
https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_unit_test/detail/ghpr_unit_test/36587/pipeline/

### 4. What is your TiDB version? (Required)

Contributor guide

Open the contributing guide

Research direction

The failure is in pkg/ddl/tests/partition/multi_domain_test.go, with the assertion at line 996 and callers at lines 827 and 577. Start by running TestMultiSchemaPartitionByGlobalIndex and inspect the linked Jenkins run. Done means the test no longer flakes and the old table has no remaining entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.