Skip to content

Commit 3af650e

Browse files
xuehonggecfan
andauthored
Update articles/connectors/connectors-create-api-servicebus.md
Co-authored-by: Esther Fan <[email protected]>
1 parent ed0b283 commit 3af650e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/connectors/connectors-create-api-servicebus.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,11 @@ Occasionally, a session-based trigger might fail with the following error:
606606

607607
The Service Bus connector uses in-memory cache to support all operations associated with the sessions. The Service Bus message receiver is cached in the memory of the role instance (virtual machine) that receives the messages. To process all requests, all calls for the connection get routed to this same role instance. This behavior is required because all the Service Bus operations in a session require the same receiver that receives the messages for a specific session.
608608

609-
The chance exists that requests might not get routed to the same role instance, due to reasons such as an infrastructure update, connector deployment, and so on. If this event happens, requests fail because the receiver that performs the operations in the session isn't available in the role instance that serves the request, or because the new role instance attempts to obtain the session which has not been closed or timed out in the old role instance.
609+
Due to reasons such as an infrastructure update, connector deployment, and so on, the possibility exists for requests to not get routed to the same role instance. If this event happens, requests fail for one of the following reasons:
610+
611+
- The receiver that performs the operations in the session isn't available in the role instance that serves the request.
612+
613+
- The new role instance tries to obtain the session, which either timed out in the old role instance or wasn't closed.
610614

611615
As long as this error happens only occasionally, the error is expected. When the error happens, the message is still preserved in the service bus. The next trigger or workflow run tries to process the message again.
612616

0 commit comments

Comments
 (0)