Skip to content

Commit 98aae2d

Browse files
Updated geo-replication exceptions with additional errors, samples, and resolutions
1 parent 413ace8 commit 98aae2d

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

articles/service-bus-messaging/service-bus-messaging-exceptions-latest.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,37 +204,43 @@ We recommend that you follow these verification steps, depending on the type of
204204

205205
### ServerBusyException
206206

207-
#### Cause
207+
#### Causes
208208

209209
- 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.
212+
- **Example**: Replication queue size 73128000 exceeded threshold 67108864.
213+
- 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.
210215

211216
#### Resolution
212217

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.
214219

215-
### TimeoutException
220+
### Timeout
216221

217222
#### Cause
218223

219224
- A timeout exception in Geo DR means that the operation did not complete within the client-provided timeout.
220225
- In synchronous replication, an operation’s primary region write and replication to secondary regions are within the scope of the operation’s timeout.
221226
- 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).
222228

223229
#### Resolution
224230

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.
228233

229234
### BadRequest
230235

231236
#### Cause
232237

233238
- 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
234240

235241
#### 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.
238244

239245
## Next steps
240246

0 commit comments

Comments
 (0)