You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CrossPartitionChangeFeedAsyncEnumerator enumerator = monadicEnumerator.Result;
if (!await enumerator.MoveNextAsync(trace))
{
throw new InvalidOperationException("ChangeFeed enumerator should always have a next continuation");
}
This means that if the CancellationToken cancels, it is not stopping any of the pipeline operations (like retries).
The text was updated successfully, but these errors were encountered:
@maryammadzadeh Since the CancellationToken does not flow through, if a particular ReadNextAsync call has retries (for example, the call hits 429s) and the CancellationToken cancels in-between, then the SDK will retry and the CancellationToken won't stop the retries, if any.
After the refactoring in #1933, the user CancellationToken on
ReadNexAsync
is not flowing into the pipeline.https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/ChangeFeed/ChangeFeedIteratorCore.cs#L250-L253
This means that if the CancellationToken cancels, it is not stopping any of the pipeline operations (like retries).
The text was updated successfully, but these errors were encountered: