Page MenuHomePhabricator

[tunnelbroker] Implement AMQP reconnect on channel access
ClosedPublic

Authored by bartek on Oct 3 2024, 1:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 4:48 PM
Unknown Object (File)
Fri, Nov 22, 4:48 PM
Unknown Object (File)
Sun, Nov 10, 12:10 PM
Unknown Object (File)
Sun, Nov 10, 3:51 AM
Unknown Object (File)
Fri, Nov 8, 10:37 PM
Unknown Object (File)
Fri, Nov 8, 1:49 PM
Unknown Object (File)
Tue, Oct 29, 6:45 PM
Unknown Object (File)
Tue, Oct 29, 1:22 PM
Subscribers

Details

Summary

When retrieving a channel, check connection status and reconnect if needed.
It should be performed once. If multiple tasks want to retrieve a channel, they wait for reconnection result. This is ensured by the RwLock

Depends on D13601

Test Plan

Tested together with the rest of the stack on staging and commtest (example test plan in D13595)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Oct 4 2024, 3:49 AM
bartek edited the summary of this revision. (Show Details)
bartek edited the test plan for this revision. (Show Details)

Nice work with locks

This revision is now accepted and ready to land.Oct 7 2024, 1:47 AM