Service Bus Prefetch Locks Messages You Aren't Processing — and Your Backoff Clock Might Be Wrong

Prefetch starts the lock clock before your code sees the message, and ‘retry in 5 minutes’ computed from the enqueue time can land hours in the past. Two small details that wrecked a retry budget.

Service Bus Lock Expiry Quietly Creates Duplicate Messages — and a Transaction Fixes the Retry Path

When a lock expires mid-processing, ‘schedule a retry, then complete the original’ leaves two live copies of one message. Doing both in one Service Bus transaction brings it back to exactly one.