File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -249,14 +249,15 @@ message GetResponse {
249
249
Value intent_value = 3 ;
250
250
}
251
251
252
- // A ProbeRequest is an internal request type used to send a replicated
253
- // no-op through a Range as a means of probing write availability. The
254
- // request will be serialized like a regular write, i.e. will acquire
255
- // latches, and declare key access, but it will not check locks (i.e.
256
- // if an intent exists on the key that is being probed, the probe will
257
- // not observe it). ProbeRequest can be served by any Replica including
258
- // followers, i.e. it can be used to verify that a given Replica is able
259
- // to access the replication layer.
252
+ // A ProbeRequest is an internal request type used to send a replicated no-op
253
+ // through a Range as a means of probing write availability. The request does
254
+ // not take any latches or locks and thus is not serialized like a regular
255
+ // write. This is because we want the probe to bypass as much of the above-raft
256
+ // machinery as possible so that it gives us a signal on the replication layer
257
+ // alone.
258
+ //
259
+ // ProbeRequest can be served by any Replica including followers, i.e. it can be
260
+ // used to verify that a given Replica is able to access the replication layer.
260
261
message ProbeRequest {
261
262
RequestHeader header = 1 [(gogoproto.nullable ) = false , (gogoproto.embed ) = true ];
262
263
}
You can’t perform that action at this time.
0 commit comments