You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add an experimental feature to skip waiting for trailers for unary ops (#2404)
* feat: add an experimental feature to skip waiting for trailers for unary ops
This is off by default and can be enabled using an environment variable.
When enabled, BigtableUnaryOperationCallable will resolve the user visible future
immediately when a response is available and will tell metrics to freeze all timers.
Metrics will still wait for the trailers in the background for necessary metadata to
publish the frozen timer values.
Change-Id: I2101ff375de711693720af4fd2e9535aa5355f9d
* more testing
Change-Id: Ifc95aa89c080ee8395d43adce1172f11354c306e
* cosmetics
Change-Id: I679aeac3ec7475757ce769f4c64ede1130b35ebd
* comment
Change-Id: Ia535905f4fed6f30854c05ceb300af39877ca4a1
* fix test
Change-Id: I77664e40c9fd2d52b609f5063386b158cbc1e81e
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableUnaryOperationCallable.java
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubSettings.java
+15-1
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ public class EnhancedBigtableStubSettings extends StubSettings<EnhancedBigtableS
Copy file name to clipboardExpand all lines: google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/BuiltinMetricsTracer.java
+28-3
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ class BuiltinMetricsTracer extends BigtableTracer {
0 commit comments