pingcap / pingcap/tiflash

5.1.1 Hotfix TPCH-100 Q9 failed with protobuf exception

Open
#2,743 6 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

set @@session.tidb_enforce_mpp=1;
mysql --host 172.16.6.60 --port 4000 -Dtpch_100 < 9.sql 
ERROR 1105 (HY000) at line 4: other error for mpp stream: DB::Exception: Exchange receiver meet error : DB::Exception: Exchange receiver meet error : DB::Exception: Exchange receiver meet error : DB::Exception: Exchange receiver meet error : DB::Exception: Fail to serialize response, response size: 2205825623

So the serialization limit is exceeded.

Screenshot_20210823_144530

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 running TPCH-100 Q9 from 9.sql with @@session.tidb_enforce_mpp=1 against the reported TiFlash setup, and confirm the MPP exchange receiver serialization error and response size. Trace the exchange response serialization path to determine how the limit is reached. Done means Q9 completes without the protobuf or serialization exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
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.