Skip to content

Commit

Permalink
feat: add max_commit_delay API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 599315735
  • Loading branch information
Google APIs authored and copybara-github committed Jan 18, 2024
1 parent 41a0bf9 commit 465a103
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions google/spanner/v1/spanner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
Expand Down Expand Up @@ -1163,6 +1164,14 @@ message CommitRequest {
// Default value is `false`.
bool return_commit_stats = 5;

// Optional. The amount of latency this request is willing to incur in order
// to improve throughput. If this field is not set, Spanner assumes requests
// are relatively latency sensitive and automatically determines an
// appropriate delay time. You can specify a batching delay value between 0
// and 500 ms.
google.protobuf.Duration max_commit_delay = 8
[(google.api.field_behavior) = OPTIONAL];

// Common options for this request.
RequestOptions request_options = 6;
}
Expand Down

0 comments on commit 465a103

Please sign in to comment.