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)
Sun, Nov 24, 8:00 AM
Unknown Object (File)
Sun, Nov 24, 7:25 AM
Unknown Object (File)
Sun, Nov 24, 4:41 AM
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
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
No Lint Coverage
Unit
No Test Coverage

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