Skip to content

Commit

Permalink
storage: improve comment on CollectChecksumResponse
Browse files Browse the repository at this point in the history
Checksum can be nil.

Release note: None
  • Loading branch information
tbg committed May 30, 2019
1 parent f49f211 commit 0519373
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
20 changes: 11 additions & 9 deletions pkg/storage/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/storage/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ message CollectChecksumRequest {
}

message CollectChecksumResponse {
// The checksum is the sha512 hash of the requested computation. It is empty
// if the computation failed.
bytes checksum = 1;
// snapshot is set if the roachpb.ComputeChecksumRequest had snapshot = true
// and the response checksum is different from the request checksum.
Expand Down

0 comments on commit 0519373

Please sign in to comment.