Closed jhendrixMSFT closed 3 years ago
@richardpark-msft these were the two obvious candidates where recovering the connection could potentially make things worse. Any other errors we should add to the list? Looking at https://github.com/Azure/azure-sdk-for-net/blob/4162f6fa2445b2127468b9cfd080f01c9da88eba/sdk/servicebus/Azure.Messaging.ServiceBus/src/Amqp/AmqpClientConstants.cs#L45-L65, I wonder if we should skip recovering on all of these errors? Could that be as simple as looking for the vendor prefix com.microsoft:
?
/azp run
For transient errors where we know the connection is good, don't Recover() the connection as that doesn't really help.
Fix or Enhancement?
changelog.md
Environment