-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Revert to working version of Azure client #5413
Revert to working version of Azure client #5413
Conversation
- Revert SDK to working version - Introduce patches to prevent deadlocks
type RoundTripperFunc func(*http.Request) (*http.Response, error) | ||
|
||
func (fn RoundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error) { | ||
return fn(req) | ||
} | ||
|
||
func Test_Hedging(t *testing.T) { | ||
metrics := NewBlobStorageMetrics() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you keep this global ? it will make count=10 test fails which helps figuring flaky tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -288,7 +281,6 @@ require ( | |||
github.com/cloudflare/cloudflare-go v0.27.0 | |||
github.com/gofrs/flock v0.7.1 // indirect | |||
github.com/gogo/status v1.1.0 | |||
github.com/grafana/regexp v0.0.0-20220202152701-6a046c4caf32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this an intentional change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was not
Due to
context canceled
errors originating in the new Azure SDK, we've decided to stabilize things by forking/patching the deprecated sdk client so we can have time to investigate the new client.This PR does two things:
SDK fork exists here: https://github.com/MasslessParticle/azure-storage-blob-go