client-go icon indicating copy to clipboard operation
client-go copied to clipboard

Support get addresses of all tiflash_mpp node

Open guo-shaoge opened this issue 2 years ago • 0 comments

TiFlash will be decoupled as ReadNode(<engine, tiflash_mpp>) and WriteNode(<engine, tiflash>). MPPTasks will only be dispatched to ReadNodes for computation, and all region data will be stored in WriteNodes.

So client-go should support getting addresses of tiflash ReadNode to dipatch MPPTasks.

Related tidb pr: https://github.com/pingcap/tidb/pull/33535

guo-shaoge avatar May 16 '22 03:05 guo-shaoge