When Tikv uses RawGet GRPC to read data, call tikv:: storage:: storage:: raw_ get() method reads, which is processed in the read thread pool to generate a SnapShot.
Tikv reading methods include readindex and lease read. The policy is obtained in the inspect() method of raftstore:: store:: peer:: RequestInspector.
When processing a read request in the read thread pool, where can I determine whether it is readindex or lease read? No related code found.