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
6f28852e1b K8s list deployments (#921)
* Outline of ListDeployments method

* Added implementation of DeploymentList
2019-11-07 07:44:57 +00:00
0e3550229b update readme 2019-11-06 22:04:02 +00:00
f9400ba713 update readme 2019-11-06 22:03:35 +00:00
ce080d76c6 add debug/profile package (#920)
* add debug/profile package

* set service+version for profile
2019-11-06 19:36:04 +00:00
254045e9f3 Remove go routines for mdns watcher and cache registry (#919) 2019-11-06 15:49:40 +00:00
b84134581c Flap detection vol2 (#915)
* We now purge flapping routes before regular tick processes them

* Updated comments

* Record the timestamp as soon as you receive the event

* Set route Address to routing table test

* Fixed a bunch of deadlocks. Added basic Router tests.
2019-11-05 17:44:24 +00:00
f67c5e779f preallocated slices (#917) 2019-11-05 17:43:12 +00:00
4a694c9d02 Change flap detection configuration (#914)
* Change flap detection configuration

* Make PenaltyHalfLife a float, not int 🤦‍♂️

* Lower event suppression to 200
2019-11-04 19:01:52 +00:00
24b8d2a315 preallocating slices (#904)
* preallocated some slices when size is known

* gofmt

* gofmt
2019-11-04 10:33:53 +00:00
2f3c251b00 Recovery should be < 500 v1.15.1 2019-11-03 17:10:00 +00:00
c1b0a968ae Augment the router penalty and decay as a hack fix (#912)
* Augment the router penalty and decay as a hack fix

* increase recovery cost
v1.15.0
2019-11-03 16:29:10 +00:00
81e9298be6 Merge branch 'master' of ssh://github.com/micro/go-micro 2019-11-03 16:12:24 +00:00
45cd14c4b7 Suppress log messages 2019-11-03 16:12:17 +00:00
8579c8b321 avoid deadlock in syncMap.Iterate (#909)
Previously, when syncMap iterates a list of records which have the same
content in different order, a deadlock might happen. By enforcing a certain
order, the deadlock can be avoided.
2019-11-03 08:18:48 +00:00
bd37e67839 fix a typo in sync/lock/memory package (#910) 2019-11-03 08:17:01 +00:00
d3151f1f0f Merge branch 'master' of ssh://github.com/micro/go-micro 2019-11-02 23:13:10 +00:00
c45ea62ea8 Do not deregister services in the monitor unless Reap is called 2019-11-02 23:13:01 +00:00
c14bf5dc4e improve the log of panic recovering (#906) 2019-11-02 23:08:54 +00:00
292da40886 runtime handler/proto placeholder 2019-11-02 22:54:35 +00:00
6f7702a093 [WIP] K8s update and runtime package changes (#895)
* First commit: outline of K8s runtime package

* Added poller. Added auto-updater into default runtime

* Added build and updated Poller interface

* Added comments and NewRuntime that accepts Options

* DefaultPoller; Runtime options

* First commit to add Kubernetes cruft

* Add comments

* Add micro- prefix to K8s runtime service names

* Get rid of import cycles. Move K8s runtime into main runtime package

* Major refactoring: Poller replaced by Notifier

POller has been replaced by Notifier which returns a channel of events
that can be consumed and acted upon.

* Added runtime configuration options

* K8s runtime is now Kubernetes runtime in dedicated pkg. Naming kung-fu.

* Fix typo in command.

* Fixed typo

* Dont Delete service when runtime stops.

runtime.Stop stops services; no need to double-stop

* Track runtime services

* Parse Unix timestamps properly

* Added deployments into K8s client. Debug logging
2019-11-02 13:25:10 +00:00
a94a95ab55 Merge pull request #908 from hb-chen/fix-907
fix-907
2019-11-02 08:59:14 +00:00
e8d2f207d8 fix-907
web service need modify registry service nodes while register interval
2019-11-02 16:39:56 +08:00
bd1918900e Merge pull request #901 from micro/sqlstore
Implementation of PostgreSQL for micro store
2019-11-01 15:48:47 +00:00
cf3af68e31 Merge pull request #903 from tegk/gofmt
used gofmt with -s flag on whole project
2019-11-01 15:25:53 +00:00
15e3b9b4c0 Let people connect with just a hostname 2019-11-01 15:16:05 +00:00
107a7ab07f Merge pull request #902 from micro/runtime-panic
Fix panic caused when ctrl+c a non started service
2019-11-01 15:12:33 +00:00
e9dfccc616 Fix panic caused when ctrl+c a non started service 2019-11-01 15:08:01 +00:00
f88518d994 used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
ee35fe61af update go.mod for postgres 2019-11-01 14:13:47 +00:00
dee63b2b2c Implementation of postgres store 2019-11-01 14:13:21 +00:00
0aa01b2ebf Output the build error in plugin 2019-11-01 08:33:14 +00:00
f089a89e8a Merge pull request #897 from micro/route-filtering
add ability to filter routes based on headers
2019-11-01 08:15:23 +00:00
174fbde049 add ability to filter routes based on headers 2019-10-31 22:34:06 +00:00
967d7ecda7 fix runtime panic 2019-10-31 22:30:21 +00:00
fb76755684 Merge branch 'master' of ssh://github.com/micro/go-micro 2019-10-31 17:22:45 +00:00
cf593e7c50 fix link panic 2019-10-31 17:22:38 +00:00
74286c2939 Merge pull request #893 from yandd/master
fix rcache ttl
2019-10-30 21:31:08 +00:00
f9c639af4e fix rcache ttl 2019-10-30 14:01:51 +08:00
dab0f3223f Add Update/List endpoints to runtime 2019-10-29 12:29:21 +00:00
d89256d8d5 add network resolver record priority field 2019-10-28 15:31:46 +00:00
99b410c81b fix metadata test 2019-10-25 23:28:43 +01:00
92b7d2db3b Rename to Merge 2019-10-25 23:27:59 +01:00
20c6c36bc4 Merge pull request #883 from xmlking/master
PatchContext method added
2019-10-25 23:23:37 +01:00
1f626a55ed Merge pull request #887 from micro/collapse-routes
hash address based on service name + node address
2019-10-25 23:12:56 +01:00
b42d242ec1 hash address based on service name + node address 2019-10-25 23:06:49 +01:00
51922c1763 Refresh route metrics in the proxy 2019-10-25 22:46:43 +01:00
1c6b85e05d AppendContext with overwrite flag 2019-10-25 08:27:28 -07:00
e85863d6cc Merge pull request #886 from micro/tunnel-error
Don't error where the connection is not unicast
v1.14.0
2019-10-25 15:48:09 +01:00
5d7bf53f78 don't error where the connection is not unicast 2019-10-25 15:41:37 +01:00
44c0f1946d Merge pull request #882 from micro/link-state
A few changes for the network / tunnel link state
2019-10-25 14:28:43 +01:00