Gwacl does not allow requests to be retried
Bug #1208349 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go Windows Azure Client Library |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
Some requests (for instance when they result in 409 or 500 responses) can be safely retried without changing the requests. It would be very helpful for gwacl clients to be able to give a list of response codes for which the originating request should be retried a fixed number of time.
This mechanism probably should be turned off by default to let each client make an educated choice about whether or not it should be turned on.
Related branches
lp:~rvb/gwacl/retry-feature
- Julian Edwards (community): Approve
-
Diff: 702 lines (+390/-37)10 files modifiedmanagement_base.go (+17/-6)
management_base_test.go (+22/-5)
retry_policy.go (+122/-0)
retry_policy_test.go (+150/-0)
storage_base.go (+5/-1)
storage_base_test.go (+22/-0)
x509dispatcher.go (+7/-5)
x509dispatcher_test.go (+28/-5)
x509session.go (+3/-1)
x509session_test.go (+14/-14)
Changed in gwacl: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Committed |
Changed in gwacl: | |
milestone: | none → 0.1.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.