Source Code Reading: Which gRPC of TiKV does PD's hbStreams.SendMsg send to?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 源码阅读–PD的hbStreams.SendMsg发给了tikv的哪个grpc?

| username: HappyUncle

PD sends the Operator’s Step to TiKV through the following logic.

Where is the entry point for TiKV to receive it? I couldn’t find it.

| username: neilshen | Original post link

PD sends the Operator’s Step to TiKV through the following logic

Region-related scheduling is issued through the RegionHeartbeat RPC, defined at kvproto/proto/pdpb.proto at 4c6f1502851ed55b3ed023d180b6b10766446630 · pingcap/kvproto · GitHub

The code for TiKV handling the scheduling is at tikv/components/raftstore/src/store/worker/pd.rs at b448214b8f2c0a6a9ba2381a1983ce20e6514218 · tikv/tikv · GitHub

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.