Skip to content

Commit 90db6ea

Browse files
craig[bot]stevendanna
andcommitted
Merge #153459
153459: kvpb: update comment on ProbeRequest r=tbg a=stevendanna Epic: none Release note: None Co-authored-by: Steven Danna <[email protected]>
2 parents c2c042f + 343f3b5 commit 90db6ea

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pkg/kv/kvpb/api.proto

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,15 @@ message GetResponse {
249249
Value intent_value = 3;
250250
}
251251

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.
260261
message ProbeRequest {
261262
RequestHeader header = 1 [(gogoproto.nullable) = false, (gogoproto.embed) = true];
262263
}

0 commit comments

Comments
 (0)