Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry fixes #1815

Merged
merged 3 commits into from
Apr 9, 2019
Merged

Retry fixes #1815

merged 3 commits into from
Apr 9, 2019

Conversation

dwsupplee
Copy link
Contributor

Closes: #1813, #1809

Big thanks to @paslandau for the reports! The BigQueryClient was incorrectly using the restDelayFunction to attempt to override the exponential delay calculation. This exposes a new option (restCalcDelayFunction) which allows this behavior to work as expected. Additionally, this addresses an issue when attempting to retry error messages sourced from guzzle exceptions.

@dwsupplee dwsupplee added api: bigquery Issues related to the BigQuery API. api: core api: storage Issues related to the Cloud Storage API. api: language Issues related to the Cloud Natural Language API API. labels Apr 8, 2019
@dwsupplee dwsupplee requested a review from jdpedrie April 8, 2019 17:32
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 8, 2019
@codecov
Copy link

codecov bot commented Apr 8, 2019

Codecov Report

Merging #1815 into master will increase coverage by <.01%.
The diff coverage is 96.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1815      +/-   ##
============================================
+ Coverage     91.53%   91.53%   +<.01%     
- Complexity     4360     4371      +11     
============================================
  Files           304      304              
  Lines         12901    12914      +13     
============================================
+ Hits          11809    11821      +12     
- Misses         1092     1093       +1
Impacted Files Coverage Δ Complexity Δ
Language/src/LanguageClient.php 100% <ø> (ø) 17 <0> (ø) ⬇️
Storage/src/Connection/Rest.php 100% <ø> (ø) 41 <0> (ø) ⬇️
Core/src/Logger/AppEngineFlexFormatter.php 77.77% <100%> (ø) 3 <0> (ø) ⬇️
Core/src/ExponentialBackoff.php 100% <100%> (ø) 12 <1> (+2) ⬆️
Core/src/RetryDeciderTrait.php 100% <100%> (ø) 20 <0> (+6) ⬆️
BigQuery/src/BigQueryClient.php 95.96% <100%> (ø) 24 <1> (ø) ⬇️
Core/src/RequestWrapper.php 92.06% <93.75%> (-0.62%) 53 <0> (+3)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 660fca0...29d0923. Read the comment docs.

@dwsupplee dwsupplee merged commit d2af56b into googleapis:master Apr 9, 2019
@jdpedrie jdpedrie mentioned this pull request Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. api: core api: language Issues related to the Cloud Natural Language API API. api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants