8000 fix: add feature flag for improved mutate rows throttling · googleapis/googleapis@e8a136f · GitHub
[go: up one dir, main page]

Skip to content

Commit e8a136f

Browse files
Google APIscopybara-github
authored andcommitted
fix: add feature flag for improved mutate rows throttling
PiperOrigin-RevId: 565090488
1 parent 55082b3 commit e8a136f

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

google/bigtable/v2/feature_flags.proto

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,30 @@ option java_package = "com.google.bigtable.v2";
2424
option php_namespace = "Google\\Cloud\\Bigtable\\V2";
2525
option ruby_package = "Google::Cloud::Bigtable::V2";
2626

27-
// Feature flags supported by a client.
27+
// Feature flags supported or enabled by a client.
2828
// This is intended to be sent as part of request metadata to assure the server
2929
// that certain behaviors are safe to enable. This proto is meant to be
3030
// serialized and websafe-base64 encoded under the `bigtable-features` metadata
3131
// key. The value will remain constant for the lifetime of a client and due to
3232
// HTTP2's HPACK compression, the request overhead will be tiny.
33-
// This is an internal implementation detail and should not be used by endusers
33+
// This is an internal implementation detail and should not be used by end users
3434
// directly.
3535
message FeatureFlags {
3636
// Notify the server that the client supports reverse scans. The server will
3737
// reject ReadRowsRequests with the reverse bit set when this is absent.
3838
bool reverse_scans = 1;
3939

4040
// Notify the server that the client enables batch write flow control by
41-
// requesting RateLimitInfo from MutateRowsResponse.
41+
// requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
42+
// this disables partial retries.
4243
bool mutate_rows_rate_limit = 3;
4344

45+
// Notify the server that the client enables batch write flow control by
46+
// requesting RateLimitInfo from MutateRowsResponse. With partial retries
47+
// enabled.
48+
bool mutate_rows_rate_limit2 = 5;
49+
4450
// Notify the server that the client supports the last_scanned_row field
45-
// in ReadRowsResponse for long-running sparse scans.
51+
// in ReadRowsResponse for long-running scans.
4652
bool last_scanned_row_responses = 4;
4753
}

0 commit comments

Comments
 (0)
0