Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

AcceptMessageSession takes from 5 ms to more than few minutes without Timeout exception #690

Open
rybczak opened this issue Apr 23, 2019 · 0 comments

Comments

@rybczak
Copy link

rybczak commented Apr 23, 2019

Actual Behavior

  1. AcceptMessageSession takes from 5ms to more than 2 minutes - timeout was set to 10ms, 30ms and to default one.

Expected Behavior

We're trying to read messages from Servicebus in Azure environment. Our process is run inside Durable Functions framework and it sometimes fails with FunctionTimeoutException.

We find out that there is a problem with AcceptMessageSession.
Our workflow:

  • receive all messages for specific session
  • save data into database
  • complete all messages from session at once and go to other session

From time to time AcceptMessageSession takes a lot of time (in minutes): in last process run there were 3 AcceptMessageSession invocation which takes from 1 to 3 minutes and 17 invocations which takes less than 10 ms.

We thought that Servicebus will throw exception when methods is taking more than expected.

Versions

  • OS platform and version: Azure, azurefunctions: 2.0.12408.0
  • .NET Version: .NET Core 2.1
  • NuGet package version or commit ID: Microsoft.Azure.ServiceBus 3.4.0
@rybczak rybczak changed the title AcceptMessageSession taks from 5 ms to more than 2 minutes AcceptMessageSession takes from 5 ms to more than 2 minutes without Timeout exception Apr 23, 2019
@rybczak rybczak changed the title AcceptMessageSession takes from 5 ms to more than 2 minutes without Timeout exception AcceptMessageSession takes from 5 ms to more than few minutes without Timeout exception Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant