Paul Lorenz
d62e3cb71f
Use cmap IterCB instead of IterBuffered where possible. Fixes #1902
2024-04-04 21:27:38 -04:00
Andrew Martinez
09542c7728
consolidated ha changes
2024-02-29 09:27:56 -05:00
Paul Lorenz
f3d67b7f49
Update fabric imports
2023-09-28 23:34:28 -04:00
Paul Lorenz
07da3cd513
Merge remote-tracking branch 'edge/main' into merge-edge
...
Updated package names
Merged golangci-lint configurations
2023-09-27 16:54:53 -04:00
Paul Lorenz
1f5eed5956
Move eid to common
2023-08-04 11:46:53 -04:00
Andrew Martinez
2f51b4acd7
reworks broker/sync connect/disconnect logic
...
- defensive checks for closed control channels
- defensive checks for duplicate/mismatch control channels
2023-03-20 15:28:09 -04:00
Paul Lorenz
2509f9b575
update CODEOWNERS to sig-core and update MM notifications
2022-11-30 14:34:10 -05:00
Paul Lorenz
f2a2520317
Ensure disconnect handling applies to right router instance. Fixes #1217
2022-10-24 15:51:39 -04:00
Paul Lorenz
63c161224a
Add linter and fix issues found by linter
2022-10-10 16:56:51 -04:00
Paul Lorenz
ad8392cef4
Update deps
2022-10-10 16:56:50 -04:00
Paul Lorenz
32c197e5e1
Update to channel v2
2022-09-26 18:20:00 -04:00
Paul Lorenz
bae7e40b61
Update for foundation changes
2022-07-01 15:55:30 -04:00
Paul Lorenz
12df770d04
Update copyright
2022-06-30 17:45:08 -04:00
Paul Lorenz
f14ff5e0ed
Update xgress edge to updated channel library/api
2022-01-31 22:24:38 -05:00
Paul Lorenz
5be9095e60
Update to use channel library
2022-01-28 11:35:15 -05:00
Paul Lorenz
3f69bfdd43
Update for control channel API changes
2022-01-19 08:37:40 -05:00
Paul Lorenz
afa651dd40
Fix Range bug where we only sent to one ER
2021-06-08 12:36:30 -04:00
Andrew Martinez
127de19ce1
remove re-Start() and re-Stop() capabilities
2021-06-03 10:36:49 -04:00
Andrew Martinez
087c51dd74
fixes rtx double stop panic
...
- stopping status was being reset causing subsequent stops to panic
- remove stopping atomic bool
- change router disconnect logging from debug to info
2021-06-01 14:00:22 -04:00
Andrew Martinez
93bfce03c2
remove go routine and simply close
2021-05-25 18:19:19 -04:00
Andrew Martinez
5a5fefa092
fixes deadlocks when a router disconnects mid sync or update
...
- range() of rtx'ers no longer locks, snapshots then loops
- rtx.Send() now checks for stopped/disconnected
- rtx.Send() now respects closeNotify
2021-05-25 16:23:20 -04:00
Andrew Martinez
90ca54adb8
adds thread safe router state
...
Router state used to be stored and accessed in a thread unsafe way.
State is now locks on a mutex for setting values and values are copied
out for referencing.
2021-03-08 14:55:36 -05:00
Andrew Martinez
74d4187f22
documentation, split shared options for instant sync, renames
2021-02-15 14:56:56 -05:00
Andrew Martinez
fdb2fb35ad
rename routerTx to routerSender
2021-02-15 13:22:07 -05:00
Andrew Martinez
d07618c9d5
modular edge router sync
...
- edge router sync is now modular and can have different strategies
- plans to make this configurabe in the future with multiple strat
- legacy strategy is called "instant" and is the only option
- instant strat now supports control signaling and resync requests
- edge routers now do not remove connections till after a full sync
- added the ability for the controller to report the er sync status
- added er syn status to GET /edge-routers list and detail
- improved log output in sync logic
2021-02-15 13:22:07 -05:00