Skip to content

Commit 325f09c

Browse files
authored
fix: Call attemptStarted method with the request (#1562)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/java-bigtable/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> ☕️ If you write sample code, please follow the [samples format]( https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md).
1 parent d897b0e commit 325f09c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/mutaterows/MutateRowsAttemptCallable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ public Void call() {
169169
// variables in ApiTracer and avoid exceptions when the tracer marks the attempt as finished
170170
callContext
171171
.getTracer()
172-
.attemptStarted(externalFuture.getAttemptSettings().getOverallAttemptCount());
172+
.attemptStarted(
173+
currentRequest, externalFuture.getAttemptSettings().getOverallAttemptCount());
173174

174175
Preconditions.checkState(
175176
currentRequest.getEntriesCount() > 0, "Request doesn't have any mutations to send");

0 commit comments

Comments
 (0)