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
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/service-bus-messaging-exceptions-latest.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,37 +204,43 @@ We recommend that you follow these verification steps, depending on the type of
204
204
205
205
### ServerBusyException
206
206
207
-
#### Cause
207
+
#### Causes
208
208
209
209
- During asynchronous replication (replication lag greater than zero), the client tries to perform an operation on a service bus entity (queue, topic) or performs a management operation, but the operation cannot be completed because the replication lag between the primary and the secondary regions has exceeded the maximum allowed replication lag in seconds.
210
+
-**Example**: The operation is being throttled because with it the new replication lag would reach 38323 seconds, which is greater than the maximum replication lag that was set (300 seconds). The current replication lag for the latest operation being replicated is 0 seconds.
211
+
- The replication queue for an entity exceeds its maximum size in bytes. The maximum size in bytes for a replication queue is an internal limit set by Service Bus.
- In synchronous replication, a request times out while waiting for another request to replicate.
214
+
-**Example**: High volume of requests from client application for skarri-stroage-exp1(westus3)/q1:MessagingJournal. Replication to other region(s) is in progress.
210
215
211
216
#### Resolution
212
217
213
-
The client should back off to give time for the service to process its given workload, then the client should retry.
218
+
-The client should back off to give time for the service to process its given workload, then the client should retry. Moreover, this could indicate an issue for replication between the primary and secondaries and could be used as an indication that promotion of a secondary should be triggered.
214
219
215
-
### TimeoutException
220
+
### Timeout
216
221
217
222
#### Cause
218
223
219
224
- A timeout exception in Geo DR means that the operation did not complete within the client-provided timeout.
220
225
- In synchronous replication, an operation’s primary region write and replication to secondary regions are within the scope of the operation’s timeout.
221
226
- In asynchronous replication, an operation’s primary region write is within the scope of the operation’s timeout, but an operation’s replication to secondary regions is not within the scope of the operation’s timeout.
227
+
-**Example**: The operation did not complete within the allocated time 00:01:00 for object message. (ServiceTimeout).
222
228
223
229
#### Resolution
224
230
225
-
The client should retry the operation.
226
-
227
-
Note that some steps of a timed-out operation may have been completed. It’s possible that a timed-out operation may have been written to the primary region and some secondary regions. If an operation has been written to the primary region, it will eventually be replicated to all secondary regions regardless of client timeout.
231
+
- The client should retry the operation.
232
+
- Note that some steps of a timed-out operation may have been completed. It’s possible that a timed-out operation may have been written to the primary region and some secondary regions. If an operation has been written to the primary region, it will eventually be replicated to all secondary regions regardless of client timeout.
228
233
229
234
### BadRequest
230
235
231
236
#### Cause
232
237
233
238
- During a planned failover, the primary region is temporarily set as read-only in order to allow the secondary region to catch up. If the client attempts a write operation to the primary region while it is in this temporary read-only state, then the client will be receive a BadRequest exception.
239
+
-**Example**: Replication role switch in progress, primary replica:<entity-name> is ReadOnly
234
240
235
241
#### Resolution
236
-
237
-
The client must wait for planned failover to complete before write operations will succeed.
242
+
- The client must wait for planned failover to complete before write operations will succeed.
243
+
- In case planned failover takes to long, it is possible to trigger a forced failover instead.
0 commit comments