Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
1.
CouchbaseCollection.RetryUntilTimeoutOrSuccessAsync
should dispose the cancellation token source
2.
RetryOrchestrator.RetryAsync should dispose
tokensource created by
if (request.Timeout > TimeSpan.Zero)
3. RetryOrchestrator.RetryAsync unnecessarily creates linked source
await Task.Delay(cappedDuration,
CancellationTokenSource.CreateLinkedTokenSource(token).Token).ConfigureAwait(false);
Attachments
Issue Links
- duplicates
-
NCBC-2734 Improve CancellationTokenSource handling in RetryOrchestrator
- Resolved
For Gerrit Dashboard: NCBC-2694 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
141980,2 | NCBC-2694: Remove unnecessary linked CancellationToken source | master | couchbase-net-client | Status: MERGED | +2 | +1 |