Skip to content

fix: aggregate batching throttling latency per attempt and reset it between#1905

Merged
igorbernstein2 merged 2 commits intomainfrom
fix-batching-stats
Sep 11, 2023
Merged

fix: aggregate batching throttling latency per attempt and reset it between#1905
igorbernstein2 merged 2 commits intomainfrom
fix-batching-stats

Conversation

@igorbernstein2
Copy link
Copy Markdown
Contributor

This should improve reporting of latency when bulk mutation throttling is enabled. Also:

  • fix tests to properly close the batcher
  • simplify tests to avoid unnecessary mocking
  • improve test failure messaging

Change-Id: I53748c5e54ebbbe2a896f8ea0ce6c39a8f5fa297

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 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.

…etween

This should improve reporting of latency when bulk mutation throttling is enabled. Also:
- fix tests to properly close the batcher
- simplify tests to avoid unnecessary mocking
- improve test failure messaging

Change-Id: I53748c5e54ebbbe2a896f8ea0ce6c39a8f5fa297
@igorbernstein2 igorbernstein2 requested a review from a team September 11, 2023 19:04
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigtable Issues related to the googleapis/java-bigtable API. labels Sep 11, 2023
@igorbernstein2 igorbernstein2 merged commit e6cc5f6 into main Sep 11, 2023
@igorbernstein2 igorbernstein2 deleted the fix-batching-stats branch September 11, 2023 19:27
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 12, 2023
🤖 I have created a release *beep* *boop*
---


## [2.27.1](https://togithub.com/googleapis/java-bigtable/compare/v2.27.0...v2.27.1) (2023-09-12)


### Bug Fixes

* Aggregate batching throttling latency per attempt and reset it between ([#1905](https://togithub.com/googleapis/java-bigtable/issues/1905)) ([e6cc5f6](https://togithub.com/googleapis/java-bigtable/commit/e6cc5f615630d15b717df1056ceed98f21f2297b))
* Make sure to propagate the response when throttling is enabled ([#1908](https://togithub.com/googleapis/java-bigtable/issues/1908)) ([f743187](https://togithub.com/googleapis/java-bigtable/commit/f7431871ba4ea64351fc5710089f8308e91d7978))


### Dependencies

* Update the Java code generator (gapic-generator-java) to 2.25.0 ([#1902](https://togithub.com/googleapis/java-bigtable/issues/1902)) ([f4fe6a0](https://togithub.com/googleapis/java-bigtable/commit/f4fe6a054194f68da1d7a548dec7a1cec68c1a2c))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants