microsoft / service-fabric-services-and-actors-dotnet

Reliable Services and Reliable Actors are Service Fabric application frameworks for building highly-scalable distributed cloud applications.
Other
269 stars 115 forks source link

Resolver should respect the cancellation token parameter #348

Closed atigranyan closed 1 year ago

atigranyan commented 1 year ago

ResolveHelperAsync currently ignores the cancellation token parameter in the call to resolveFunc. As a result, when the caller requests that the call is cancelled through the passed token, the request will still hang. https://github.com/microsoft/service-fabric-services-and-actors-dotnet/blob/4c399431fe60ac350dd0d99c139679bac507b53f/src/Microsoft.ServiceFabric.Services/Client/ServicePartitionResolver.cs#L569-L573