Paul Lorenz
abb0eb96fb
Add more raft configuration options. Fixes openziti/fabric#597
...
Add more raft config knobs
Refactor peer handles to be consistent with other handlers
Allow inspect to work across controllers
Add config and clusterconfig inspect support
2023-02-15 23:47:57 -05:00
Paul Lorenz
52a8ba6a57
Miscellaneous raft related updates
...
Add initial cluster events.
Simplify ctrl <-> ctrl connection.
Fix version mismatch detection
2023-02-09 15:24:23 -05:00
Paul Lorenz
8f5b5b5c33
Compress snapshots with gzip for efficiency. Fixes openziti/fabric#583
2023-02-09 14:40:34 -05:00
Paul Lorenz
3a110eccc7
Add ability to report initiator local/remote addr. Add to circuit events. Fixes openziti/fabric#592
2023-01-24 16:16:53 -05:00
Paul Lorenz
345943b25e
Merge pull request openziti/fabric#591 from openziti/consistent-service-metrics
...
Only track service metrics on current route attempts. Fixes openziti/fabric#588
2023-01-19 21:58:24 -05:00
Paul Lorenz
5635a51061
Only track service metrics on current route attempts. Fixes openziti/fabric#588
2023-01-19 11:21:31 -05:00
Paul Lorenz
e02dde0cd7
Add duration to circuit updated/deleted events. Closes openziti/fabric#589
2023-01-19 11:16:47 -05:00
Cam Otts
c299a06669
Added raft leave and raft list members ( #580 )
...
* Added raft leave and raft list members
* reordered agent raft leave to only check address if is is not found
* instead of adding second raft ctrl, just cast the dispatcher
2023-01-12 10:18:13 -06:00
Paul Lorenz
374b74ea79
Support auto-migrate and agent initiated migration. Fixes openziti/fabric#569
2022-12-28 17:06:27 -05:00
Paul Lorenz
e0c894dce9
Merge pull request openziti/fabric#557 from openziti/add-min-cost-delta
...
Add minimum cost delta for smart rerouting. Fixes openziti/fabric#552
2022-12-19 11:22:02 -05:00
Paul Lorenz
ca9db4a78c
Add minimum cost delta for smart rerouting. Fixes openziti/fabric#552
2022-12-19 11:20:04 -05:00
Paul Lorenz
1eac29740c
Allow terminators to be marked as system entities. Fixes openziti/fabric#558
2022-12-16 13:11:45 -05:00
Paul Lorenz
74de7e65ee
update CODEOWNERS to sig-core and update MM notifications
2022-11-30 12:22:14 -05:00
Paul Lorenz
ec885daed5
Always use a new router instance for connected routers so we can ensure
...
disconnect handling applies to the right instance
2022-10-24 14:44:27 -04:00
Paul Lorenz
4a1f234839
Add linter and update deps
2022-10-10 13:29:40 -04:00
Paul Lorenz
02539e9e16
Support multiple control channels. Fixes openziti/fabric#469
2022-09-29 12:06:41 -04:00
Paul Lorenz
519574497e
Update to channel v2
2022-09-26 17:00:34 -04:00
Paul Lorenz
aafa99ae6f
Fix some linting issues. svcId -> serviceId
2022-09-15 17:34:44 -04:00
Paul Lorenz
aa6124105d
Update to usage v3. Adds circuit tags to usage. Fixes openziti/fabric#496
2022-09-15 17:34:33 -04:00
Paul Lorenz
096e981959
Add remote addr to circuit events. Fixes openziti/fabric#459
2022-09-06 22:58:06 -04:00
Paul Lorenz
4d05c59df0
Run gofmt -w -s
2022-08-22 14:17:43 -04:00
Paul Lorenz
e0f5092a08
Use one port for ctrl channel to router and controllers. Allow syncing existing DB to raft. Fixes #471 . Fixes openziti/fabric#479 .
2022-08-22 12:09:07 -04:00
Paul Lorenz
521c5d2be1
Fixes for command encoding and decoding
2022-08-11 11:24:23 -04:00
Paul Lorenz
40ef589193
Fixes panic when dialing service with terminator but none for instanceId. Fixes openziti/fabric#463
2022-08-04 21:42:01 -04:00
Paul Lorenz
0e07f211be
Add flags to create/update commands. allows some lightweight logic specialization (eg priveleged vs non-priveleged updates)
2022-07-29 10:53:39 -04:00
Paul Lorenz
858642bc38
Move UpdatedFields to fabric. Start moving model layer to generics
2022-07-27 11:33:24 -04:00
Paul Lorenz
98160bb8b0
Merge pull request openziti/fabric#448 from openziti/link-events
...
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
2022-07-19 10:59:27 -04:00
Paul Lorenz
7abe5d5605
Cleanup circuits for deleted routers. Fixes openziti/fabric#452
2022-07-18 15:03:35 -04:00
Paul Lorenz
3af3d447c3
Merge pull request openziti/fabric#451 from openziti/report-high-latency-on-hb-timeout
...
Report high latency on latency timeout. Use marker value of 88.888888…
2022-07-18 09:19:06 -04:00
Paul Lorenz
960dfe88f6
Report high latency on latency timeout. Use marker value of 88.888888888 seconds. Fixes openziti/fabric#443
2022-07-15 23:45:31 -04:00
Paul Lorenz
8f0150f242
Add host id to terminator. This will allow tracking usage to hosting entities. Fixes openziti/fabric#440
2022-07-15 23:13:01 -04:00
Paul Lorenz
77bce93e85
Refactor events subsystem. Add link events. Fixes openziti/fabric#415
...
Previously we often had two sets of events, one in the network
package, and then another in the events package. We now only
have one, in the events package. Events now have a public API,
with minimal deps. There's an implementation package which has
the dependencies. This allows the network package to generate
events, without have a circular dependency on the events
implementation package.
2022-07-15 18:31:52 -04:00
Paul Lorenz
70d37bf44a
Merge pull request openziti/fabric#430 from openziti/prevent-strange-loops
...
Prevent strange loops
2022-07-01 15:37:59 -04:00
Paul Lorenz
3d49022f4a
Update for foundation changes
2022-07-01 14:29:12 -04:00
Paul Lorenz
b281372757
Retry smart route on failure. Add circuit createdAt
2022-07-01 11:19:37 -04:00
Paul Lorenz
b26fcf8909
Fix copyright
2022-06-29 16:59:46 -04:00
Paul Lorenz
a731cd9aec
Circuit failed events and rename terminator identity -> instanceId
2022-06-22 14:34:32 -04:00
Cam Otts
45d49324c6
move terminator address to seperate field ( #412 )
...
* move terminator address to seperate field
* update circuit streaming to handle dedicated terminator address field
* Added circuit event terminator local address
2022-06-09 11:11:44 -05:00
Paul Lorenz
a64c626cb4
Controller -> Manager for entity managers
2022-06-02 22:53:22 -04:00
Paul Lorenz
eaa75d48c6
Initial support for distributed model via RAFT
2022-06-02 22:49:55 -04:00
tburtchell
cf28ad7edc
Metrics via inspect ( #409 )
...
* Adding inspect handling for 'metrics'
* Adding prometheus metric event format
2022-05-31 16:03:04 -04:00
Andrew Martinez
6f867e34db
uses generic version of cmap
2022-05-27 09:47:15 -04:00
Paul Lorenz
c9397175f0
Add service id to dial context and service name to CreateCircuit ctx
2022-05-12 16:29:43 -04:00
Paul Lorenz
dd5e549033
Merge pull request openziti/fabric#389 from openziti/add-link-count-cost-to-circuit-events
...
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-12 15:39:52 -04:00
Paul Lorenz
a4de1c1b9f
Merge pull request openziti/fabric#387 from openziti/make-initial-latency-configurable
...
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-12 15:39:12 -04:00
Cam Otts
0c7ff2bd5e
threaded a timout through fabric ( #356 )
...
* threaded a timout through fabric
* updated default timeout
* pr comments
* fix timing
* applied pr comments
* removed one more utc
* updated to time until and conditionally add deadline
* signed commit
* small proto change
* regenerate pb
* missed extra import
2022-05-12 14:32:18 -05:00
Paul Lorenz
e8285f76f3
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-11 13:03:08 -04:00
Paul Lorenz
01ffc402e3
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-11 09:51:56 -04:00
Paul Lorenz
2cdf3f469c
Verify router instead of link when getting new link dial
2022-05-10 14:26:55 -04:00
Paul Lorenz
69bc2fb0cc
Update to transport/v2
2022-05-10 11:58:41 -04:00