pingcap / pingcap/tiflash

tiflash cli can't query when benchmark running.

Open
#2,714 0 comments 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

background

  1. 1xtidb + 1xpd + 1xtikv + 1xtiflash in split machine
  2. TPC-C data store in tidb cluster, both store in tikv and tiflash

problem

TiFlash :) select count(*) from t_131;

SELECT count(*)
FROM t_131


Exception on client:
Code: 100. DB::Exception: Unknown packet 101 from server 172.16.5.85:50117

Connecting to 172.16.5.85:50117.
Connected to ClickHouse server version 1.1.54381.

recurrent

  1. exec
tiup bench tpcc run -U root --db tpcc --host xxxxxx --port xxxxx --time 1000s --warehouses 1000 --threads 24
  1. run in tiflash cli
select count(*) from t_131;
  1. the schema is "tpcc.order_line" in tidb.

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

Start by reproducing the failure through the tiflash cli while the tiup bench tpcc run command is active, using the reported tpcc.order_line schema and query. Trace the CLI/server handling of the reported “Unknown packet 101” response. Done means the query completes successfully while the benchmark is running.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.