raft/rawnode.go
func (rn *RawNode) ReadIndex(rctx []byte) {
	_ = rn.raft.Step(pb.Message{Type: pb.MsgReadIndex, Entries: []pb.Entry{{Data: rctx}}})
}
func (rn *RawNode) ReadIndex(rctx []byte) {
	_ = rn.raft.Step(pb.Message{Type: pb.MsgReadIndex, Entries: []pb.Entry{{Data: rctx}}})
}
func ( rn * RawNode ) ReadIndex ( rctx [ ] byte ) { _ = rn . raft . Step ( pb . Message { Type : pb . MsgReadIndex , Entries : [ ] pb . Entry { { Data : rctx } } } ) }
// ReadIndex requests a read state. The read state will be set in ready.
// Read State has a read index. Once the application advances further than the read
// index, any linearizable read requests issued before the read request can be
// processed safely. The read state will have the same rctx attached.
ReadIndex requests a read state . The read state will be set in ready . Read State has a read index . Once the application advances further than the read index any linearizable read requests issued before the read request can be processed safely . The read state will have the same rctx attached .