storj/storagenode/contact
Clement Sam 59b37db670 storagenode: overhaul QUIC check implementation
The current implementation blocks the the startup until one or none
of the trusted satellites is able to reach the node via QUIC.
This can cause delayed startup. Also, the quic check is done
once during startup, and if there is a misconfiguration later,
snos would have to restart to node.

In this change, we reuse the contact service which pings the satellite
periodically for node checkin. During checkin the satellite tries
pinging the node back via both TCP and QUIC and reports both statuses.
WIth this, we are able to get a periodic update of the QUIC status
without restarting the node.

Also adds the time the node was last pinged via QUIC to the tooltip
on the QUIC status tab.

Resolves https://github.com/storj/storj/issues/4398

Change-Id: I18aa2a8e8d44e8187f8f2eb51f398fa6073882a4
2022-11-09 03:15:57 +00:00
..
chore.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
contact_test.go storagenode: overhaul QUIC check implementation 2022-11-09 03:15:57 +00:00
endpoint.go storagenode/contact: add authentication for PingNode endpoint 2021-05-12 18:15:32 +00:00
network.go storagenode: overhaul QUIC check implementation 2022-11-09 03:15:57 +00:00
service.go storagenode: overhaul QUIC check implementation 2022-11-09 03:15:57 +00:00