DDL integration test is not stable
Open
Nobody has claimed this yet.
component/storage
feature/developing
severity/moderate
type/bug
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
[2023-10-27T08:46:48.364Z] fullstack-test2/ddl/alter_partition_by.test: Running
[2023-10-27T08:46:58.284Z] File: fullstack-test2/ddl/alter_partition_by.test
[2023-10-27T08:46:58.284Z] Error line: 171
[2023-10-27T08:46:58.284Z] Error: select tidb_database,tidb_name from system.tables where tidb_database = 'test' and tidb_name = 't2' and is_tombstone = 0
[2023-10-27T08:46:58.284Z] Result:
[2023-10-27T08:46:58.284Z] <nothing>
[2023-10-27T08:46:58.284Z] Expected:
[2023-10-27T08:46:58.284Z] ┌─tidb_database─┬─tidb_name─┐
[2023-10-27T08:46:58.284Z] │ test │ t2 │
[2023-10-27T08:46:58.284Z] └───────────────┴───────────┘
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run fullstack-test2/ddl/alter_partition_by.test and inspect the failure at line 171, where the query finds no non-tombstone test.t2 table. Trace the DDL and metadata behavior around that check, then verify the integration test reliably observes test.t2 after the partition alteration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100