docs: lexicographical ordering of min/max

The min/max values are the minimum/maximum values when ordered
lexicographically.
pull/24376/head
Dom Dwyer 2023-09-19 10:45:32 +02:00
parent 4ec07b5d80
commit ef1a7b0ce8
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
1 changed files with 10 additions and 6 deletions

View File

@ -36,10 +36,10 @@ message GetTreeDiffResponse {
// A compact representation of a single page in a Merkle Search Tree. // A compact representation of a single page in a Merkle Search Tree.
message PageRange { message PageRange {
// Minimum namespace name in this page (inclusive). // Lexicographically minimum namespace name in this page (inclusive).
string min = 1; string min = 1;
// Maximum namespace name in this page (inclusive). // Lexicographically maximum namespace name in this page (inclusive).
string max = 2; string max = 2;
// A 16-byte MST page hash covering all entries in this page. // A 16-byte MST page hash covering all entries in this page.
@ -49,20 +49,24 @@ message PageRange {
// An inclusive range of namespace names which contains at least one // An inclusive range of namespace names which contains at least one
// inconsistent schema. // inconsistent schema.
message DiffRange { message DiffRange {
// Minimum inconsistent namespace name in this diff range (inclusive). // Lexicographically minimum inconsistent namespace name in this diff range
// (inclusive).
string min = 1; string min = 1;
// Maximum inconsistent namespace name in this diff range (inclusive). // Lexicographically maximum inconsistent namespace name in this diff range
// (inclusive).
string max = 2; string max = 2;
} }
// Fetch the namespace schemas with namespace names falling within the specified // Fetch the namespace schemas with namespace names falling within the specified
// inclusive range. // inclusive range.
message GetRangeRequest { message GetRangeRequest {
// Minimum namespace name in this range to be fetched (inclusive). // Lexicographically minimum namespace name in this range to be fetched
// (inclusive).
string min = 1; string min = 1;
// Maximum namespace name in this range to be fetched (inclusive). // Lexicographically maximum namespace name in this range to be fetched
// (inclusive).
string max = 2; string max = 2;
} }