Commit Graph

120 Commits

Author SHA1 Message Date
Paul Lorenz d2e54e766f Fix circuit test and update foundation dep 2021-03-18 13:30:35 -04:00
Paul Lorenz 402dcb1f60 Don't allow routers to connect with no version info. They're too old to work correctly anyway for other reasons 2021-03-18 11:38:42 -04:00
Michael Quigley 57f904b739 Configuration for bolt db tracing. 2021-03-17 10:42:02 -04:00
Michael Quigley c59ec4d927 Cleaner logging without anonymous functions. 2021-03-17 10:34:18 -04:00
Michael Quigley 2c9b1552c7 Enable bbolt tracing in controller. 2021-03-16 11:25:18 -04:00
Michael Quigley 072eb3fc3e Send unroute asynchronously. (#204) 2021-03-12 10:32:13 -05:00
Michael Quigley 427fa10258 Merge branch 'main' into idle_route_gc 2021-03-11 09:46:14 -08:00
Paul Lorenz 31a587384a Add interval counts, per service, for dial success, timeout, fail, other 2021-03-10 13:15:55 -05:00
Michael Quigley 3ec45972b9 Warn->Info (#206) 2021-03-09 12:52:41 -05:00
Michael Quigley f4d9be4271 Log lint. (#206) 2021-03-09 12:42:26 -05:00
Michael Quigley 5c22c9e531 Initial parallel network re-routing, and session-level concurrency control. (#206) 2021-03-09 11:35:51 -05:00
Michael Quigley b8b9c47fcf Lint. 2021-03-05 15:14:32 -05:00
Michael Quigley eb904f8b4c Controller cleanup side. (#173) 2021-03-05 14:14:26 -05:00
Andrew Martinez 44eced5dd1 session to Session 2021-03-01 16:58:38 -05:00
Michael Quigley 793ed028e5 Show count of cleaned-up abandoned routers. (#180) 2021-03-01 13:11:04 -05:00
Michael Quigley de79bddd6b Clean up successful, but abandoned routes. (#180) 2021-02-25 15:35:59 -05:00
Paul Lorenz 2b283dcdce Cleanup go-routines on shutdown. Allow Xtrl instances to contribute trace decoders 2021-02-17 20:22:14 -05:00
Paul Lorenz 1823ec01fc support ctrl channel reconnect notifications and turning ctrl channel on/off via debug ops 2021-02-15 21:57:24 -05:00
Paul Lorenz ea87fc24fe set faultreporter. use right var for ids 2021-02-11 17:19:44 -05:00
Michael Quigley 08ee342327 Basic controller scaffolding for forwarding fault handling. (#184) 2021-02-11 14:34:21 -05:00
Michael Quigley e55118d8a2 Redundant cast. (#168) 2021-02-10 11:58:11 -05:00
Michael Quigley aa2d7315a4 Better terminator dial error reporting. (#168) 2021-02-10 10:25:24 -05:00
Michael Quigley 7d653696e9 We don't want smart routing to start unrouting sessions. (#168) 2021-02-09 13:43:08 -05:00
Michael Quigley 6a3f2231df Also screen RouteResultAttemptHeader from peerData. (#168) 2021-02-09 13:39:16 -05:00
Michael Quigley be69649bf1 Attempt encoding support in the route plumbing. Allows the route sender to more accurately handle unhappy scenarios. (#168) Fix for 'UpdateTerminatorRequestType' typo in protobufs. (#176). 2021-02-09 13:36:23 -05:00
Michael Quigley e86f60dd68 Unhappy path unroute/cleanup improvements. Logging improvements. (#168) 2021-02-09 11:38:26 -05:00
Michael Quigley ba8b1a5826 D'oh. Testing. (#168) 2021-02-09 09:16:54 -05:00
Michael Quigley fecf08a9ed Added new 'network.createSessionRetries' option to control number of session creation attempts. (#175) 2021-02-08 14:14:41 -05:00
Michael Quigley 765e7f30bb Implement non-acting session confirmation receive hander, to prevent future errors with newer routers (#173, openziti/fabric#174) 2021-02-08 14:08:35 -05:00
Michael Quigley ef745ac2e7 Initial 'tearDownTheSuccessful' implementation. (#168) 2021-02-08 13:35:33 -05:00
Michael Quigley cb7a561a39 Up and operational with a version of parallel routing. (#168) 2021-02-08 11:50:57 -05:00
Michael Quigley 3ad20ee31a Manage route senders in network. (#168) 2021-02-08 11:27:04 -05:00
Michael Quigley cd3e31df78 Support for peerData in parallel routing. (#168) 2021-02-08 11:21:42 -05:00
Michael Quigley d36f10b185 More parallel routing logic. (#168) 2021-02-08 11:04:35 -05:00
Michael Quigley b39a85a5f9 Merge branch 'main' into parallel_route 2021-02-08 10:08:09 -05:00
Paul Lorenz f1c41cfcf8 Clarify failed to buffer msg. Make retransmits debug. Don't send if we know it's going to fail 2021-02-06 15:11:52 -05:00
Paul Lorenz 9aff04e64c Merge pull request openziti/fabric#170 from openziti/fix-terminator-patch
Validation extension points for sessions and terminators
Fix terminator patch to not update/clear peer data unless requested
2021-02-05 15:19:12 -05:00
Michael Quigley a5bc713461 Working out the route sender logic. (#168) 2021-02-05 15:09:16 -05:00
Michael Quigley 4ef6853fec Tear down sessions for abandoned route result messages (#168) 2021-02-05 13:47:46 -05:00
Michael Quigley b601068fee More receive handler, network, route sender wiring. (#168) 2021-02-05 13:26:32 -05:00
Michael Quigley 2195476448 Skeleton for route result message handler. 2021-02-05 13:12:10 -05:00
Michael Quigley 925f300351 New route sender state machine skeleton. 2021-02-05 13:04:24 -05:00
Paul Lorenz 783e5d3231 Fix terminator patch to not update/clear peer data unless requested 2021-02-05 12:00:33 -05:00
Michael Quigley 43c90c55ed Use ctrl_msg.RouteResultType as the new route result message. (#168) 2021-02-05 11:49:00 -05:00
Paul Lorenz e8ff9b7799 Add latency and message metrics to router control channels 2021-02-02 16:28:12 -05:00
Paul Lorenz bab832f5a1 Merge pull request openziti/fabric#157 from openziti/xgress-fixes
Xgress fixes
2021-01-21 15:14:00 -05:00
Michael Quigley f1dee6213c Display configured timeout. (#151) 2021-01-21 13:40:09 -05:00
Paul Lorenz 0e739a2183 drop some logging to trace 2021-01-21 13:37:54 -05:00
Michael Quigley aceb021a77 Add options for 'termination timeout' and 'route timeout' to 'network' section of controller configuration. Implement. (#151) 2021-01-21 13:20:08 -05:00
Paul Lorenz 60f7439a33 Implement terminator events so external tools can better monitor service health (#148) 2021-01-12 11:39:03 -05:00