tikv / tikv/client-rust

Failpoint tests panic randomly with transaction CheckLevel::Panic option

Open
#389 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
425
Forks
163
Avg merge
10h 51m
Merged PRs (30d)
3

Description

make test_integration with MULTI_REGION=1, the failpoints test cases panic randomly.

 panicked at 'Dropping an active transaction. Consider commit or rollback it.', /home/runner/work/client-rust/client-rust/src/transaction/transaction.rs:926:21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run make test_integration with MULTI_REGION=1 and focus on the failpoints test cases. Read src/transaction/transaction.rs around line 926 to understand the reported active-transaction panic. Done means the failpoint tests no longer panic randomly under this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.