micro/registry
Vasiliy Tolstov f961c571bd registry: [gossip] fix panic
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0xd1b215]

goroutine 8 [running]:
sync.(*RWMutex).RLock(...)
        /var/home/vtolstov/sdk/go1.12beta2/src/sync/rwmutex.go:48
github.com/hashicorp/memberlist.(*Memberlist).LocalNode(0x0, 0x0)
        /home/vtolstov/devel/projects/centralv2/vendor/github.com/hashicorp/memberlist/memberlist.go:417 +0x35
github.com/micro/go-micro/registry/gossip.(*gossipRegistry).run.func3(0xc000155880)
        /home/vtolstov/devel/projects/centralv2/vendor/github.com/micro/go-micro/registry/gossip/gossip.go:565 +0xf5
created by github.com/micro/go-micro/registry/gossip.(*gossipRegistry).run
        /home/vtolstov/devel/projects/centralv2/vendor/github.com/micro/go-micro/registry/gossip/gossip.go:553 +0xa25

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-02-13 16:36:38 +03:00
..
consul Set MDNS as default registry 2019-01-15 16:50:37 +00:00
gossip registry: [gossip] fix panic 2019-02-13 16:36:38 +03:00
mdns Set MDNS as default registry 2019-01-15 16:50:37 +00:00
memory replace memory registry 2019-01-18 17:29:17 +00:00
encoding_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
encoding.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
mdns_registry.go update mdns to remove race condition 2019-02-01 13:41:11 +00:00
mdns_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
mdns_watcher.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
options.go registry: [gossip] add ConnectRetry and ConnectTimeout 2019-02-12 17:16:35 +03:00
registry.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
service.go add json tags to registry service 2015-12-15 21:02:43 +00:00
watcher_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
watcher.go Add watcher comments 2015-12-05 02:05:06 +00:00