forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[azeventhubs,azservicebus] More recovery fixes (Azure#20528)
Fixes for both EH and SB in recovery and also in how some errors are surfaced. The main changes: - go-amqp no longer handles sessions or sender/receiver creations being cancelled, so that has shifted into SB and EH. If NewSession, NewReceiver or NewSender or (Session|Receiver|Sender).Close() are cancelled then we consider that a connection level issue and reset it immediately (or at the next recovery point) - Timeouts have been added around closing of old links. Combined with fixes from go-amqp we shouldn't have hangs on close. - Connection-level clients (ProducerClient, ConsumerClient and azservicebus.Client) no longer return errors if the failure is in amqp.Conn.Close(). The errors were misleading at best or useless since the connection they applied to had been closed. We do log it, but it's no longer returned in the API.
- Loading branch information
1 parent
d0dc9e9
commit a6b6039
Showing
24 changed files
with
2,331 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.