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

Query: Adds fast timeouts and retries to query plan #2094

Merged
merged 5 commits into from
Dec 28, 2020

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Dec 23, 2020

Pull Request Template

Description

PR #1954 only did retries on get operations. Get query plan is a post causing it to not do the faster retries. This adds explicit test to verify the behavior and to prevent future regression.

The diagnostics was updated to always include the retry policy to help trouble shoot issues in the future.

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [] This change requires a documentation update

Closing issues

To automatically close an issue: closes #IssueNumber

@j82w j82w added the Diagnostics Issues around diagnostics and troubleshooting label Dec 23, 2020
}

cancellationToken.ThrowIfCancellationRequested();
using CancellationTokenSource cancellationTokenSource = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@j82w j82w merged commit 5009e82 into master Dec 28, 2020
@j82w j82w deleted the users/jawilley/http/queryplan branch December 28, 2020 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Diagnostics Issues around diagnostics and troubleshooting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants