1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17:44 +02:00
Commit Graph

3153 Commits

Author SHA1 Message Date
bdf1d20f4e extract an ip that can be advertised in embedded nats 2020-01-18 15:39:26 +00:00
8d6f82707a update to standard name convention 2020-01-18 23:16:23 +08:00
058fd8adbf trace 1 2020-01-18 10:20:46 +00:00
13d1d2fa08 hard stop if graceful stop fails after 1 second 2020-01-18 10:18:23 +00:00
e666d0b807 add missing commit 2020-01-18 02:28:44 +00:00
39d7938405 Extract k8s run error 2020-01-18 02:13:24 +00:00
65df711b01 move nats local logic 2020-01-18 01:29:53 +00:00
fd6eb23307 do not wait to stop 2020-01-18 00:58:27 +00:00
fb3927fb8c Merge pull request #1126 from milosgajdos83/metric-update
Update route metric when receiving Sync routes
2020-01-17 18:29:55 +00:00
891af703be Update route metric when receiving Sync routes 2020-01-17 18:24:36 +00:00
474472eedd Merge pull request #1124 from milosgajdos83/flush-advert-query
Use the same logic for advertising routes in Router and Network
2020-01-17 16:49:11 +00:00
23d65145e6 Use the same logic for advertising routes in Router and Network
router.Query() allows to query the routes with given router.Strategy.
It uses the same logic as was implemented in flushRoutes but the code
was never updated. This way we are consistent across both router and
network packages.
2020-01-17 16:25:18 +00:00
9ea4919b9b rename mucp source directory to service 2020-01-17 23:53:33 +08:00
f78e30770e Merge pull request #1123 from milosgajdos83/sync-metric
Update route metric before sending the Sync message
2020-01-17 15:44:49 +00:00
bf9f319cdf Update route metric before sending the Sync message 2020-01-17 15:38:28 +00:00
ad28b72dd3 rename mucpSource to service 2020-01-17 23:27:41 +08:00
8425ae77f8 Merge pull request #1122 from micro/blocking
don't block forever
2020-01-17 15:24:03 +00:00
d7b9b2713b don't block forever 2020-01-17 15:23:10 +00:00
be788415ad minor runtime fixes 2020-01-17 14:14:47 +00:00
a03791c581 set DefaultClient 2020-01-17 21:32:00 +08:00
ee922a3da6 Merge pull request #1121 from milosgajdos83/no-routes-found
Continue processing Sync if no routes were returned from router Query
2020-01-17 13:05:47 +00:00
624f1c1980 Continue processing Sync if no routes were returned from router Query 2020-01-17 12:58:13 +00:00
607a226e34 Updated debug logs to make them less verbose 2020-01-17 12:14:56 +00:00
bac1bbfd97 Merge pull request #1120 from milosgajdos83/remove-solicit
Remove Solicitation from the network
2020-01-16 20:02:05 +00:00
7f9b3b5556 Remove Solicitation from the network
Instead, when a new peer is discovered it is sent a sync message i.e. we
do the full sync when discovering peers
2020-01-16 19:43:10 +00:00
ba12513199 Merge pull request #1119 from milosgajdos83/sync-best-routes-only
Send only best routes via Sync. Only apply best routes.
2020-01-16 18:17:26 +00:00
8fcfbc0d20 Strip unnecessary continue statement 2020-01-16 17:33:53 +00:00
472186c1be Code consistency. Small bug fix. 2020-01-16 17:04:04 +00:00
60c05bd899 Find the best routes in the routes we would advertise based on Strategy 2020-01-16 16:53:39 +00:00
793e6013e5 Advertise routes with configured strategy. Simplify Sync apply logic 2020-01-16 16:42:23 +00:00
071ab7aede add mucp for config/source 2020-01-17 00:10:15 +08:00
eda8b00f84 Send only best routes via Sync. Only apply best routes. 2020-01-16 16:08:49 +00:00
eac2ab3c28 Merge pull request #1117 from micro/scheduler
Switch notifier to scheduler
2020-01-16 13:41:13 +00:00
76fba34c2f Merge pull request #1116 from milosgajdos83/query-strategy
QueryStrategy to allow querying routes based on Advertising Strategy
2020-01-16 13:39:39 +00:00
491a42d352 Switch notifier to scheduler 2020-01-16 13:34:04 +00:00
5e85194a13 QueryStrategy to allow querying routes based on Advertising Strategy 2020-01-16 12:48:36 +00:00
689ae7cfc7 Storing tunnel.Session rather than transport.Client 2020-01-16 00:28:58 +00:00
19dbd77402 fix net masking in listed routes 2020-01-16 00:12:38 +00:00
b194b3adc9 Merge pull request #1115 from micro/net-mask
mask the route before sending
2020-01-15 23:13:53 +00:00
33a9b3bc17 mask the route before sending 2020-01-15 23:06:58 +00:00
6562154573 Fix the next panic 2020-01-15 21:38:37 +00:00
b32ebddf85 update nlopes/slack dep 2020-01-15 21:22:07 +00:00
b3e3dac975 Merge branch 'master' of ssh://github.com/micro/go-micro 2020-01-15 21:02:58 +00:00
f20e4daa60 fix rand panic 2020-01-15 21:02:53 +00:00
f67d87e99d Merge pull request #1114 from milosgajdos83/network-backward-compatibility
Fixed bug:m network.proto backwards compatibility unmarshal
2020-01-15 19:57:57 +00:00
36928b716c Fixed bug:m network.proto backwards compatibility unmarshal 2020-01-15 19:45:43 +00:00
7c7b0ced5f Merge pull request #1104 from milosgajdos83/network-hackery
[WIP] Network hackery
2020-01-14 20:28:32 +00:00
c67ef7e017 Bug fix: skip sending sync message if the peer is not in our graph 2020-01-14 19:37:50 +00:00
dcd925f1e5 Code cleanup; Indentation. 2020-01-14 18:48:42 +00:00
0ea56a5ffe Fixed tests 2020-01-14 18:22:58 +00:00