pingcap / pingcap/tiflash

`DB::Exception: The task [426629878843703302,1] has been registered` after BR synchronization

Open
#2,515 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

How to reproduce:

  1. Use TiUP to bootstrap a 1pd + 1tidb + 1tikv + 1tiflash cluster
  2. Use BR to inject TPCH100 with 1 TiFlash replica
  3. execute: echo "select count(*) from orders;" | mysql --host x.x.x.x --port yyyy -Dtpch_100 (or partsupp)

After the synchronization is just finished,there is a 100% percent chance to face the error: The task [ZZZZZZZZZZZZZZ,1] has been registered; However, the problem will disappear if one keeps retrying or waits for over 10 minutes.

Similar errors can also be encountered when executing TPCH Queries (I have tried Q1, Q9), yet after a longer waiting the exception will also resolve itself magically.

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

Reproduce the issue by bootstrapping the described TiUP cluster, loading TPCH100 with BR and a TiFlash replica, then running the orders or partsupp count query through mysql. Check whether the task-registration error persists immediately after synchronization and during TPCH queries. Done means these queries complete without the exception or unexplained waiting.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, mysql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.