Zebra/zebra-network/src
teor 1835ec2c8d
Add diagnostics for peer set hangs (#3203)
* Use a named CancelHeartbeatTask unit struct for the channel type

* Prefer cancel handles in selects, if both are ready

* Fix message metrics to just show the command name

* Add metrics for internal requests and responses

* Add internal requests and responses to the messages dashboard

* Add a canceled metric, and peer addresses to request and response metrics

* Add a canceled messages graph

* Add connection state metrics for currently open connections

* Fix the connection state graph with new metrics

* Always send an error before dropping pending responses

* Move error detail logging into `fail_with`

* Delete an unused timer future

* Make error strings in metrics less verbose

* Downgrade some error logs to info

* Remove a redundant expect

* Avoid unnecessary allocations for connection state metrics

* Fix missed updates to mempool and block gossip metrics
2021-12-14 21:11:03 +00:00
..
address_book Security: Limit address book size to limit memory usage (#3162) 2021-12-06 16:09:10 -03:00
config Use the default port for configured listen addresses with no port (#2043) 2021-04-21 23:14:29 +00:00
meta_addr Fix new clippy lints in clippy nightly (#3176) 2021-12-09 14:19:14 +00:00
peer Add diagnostics for peer set hangs (#3203) 2021-12-14 21:11:03 +00:00
peer_set Add diagnostics for peer set hangs (#3203) 2021-12-14 21:11:03 +00:00
protocol Add diagnostics for peer set hangs (#3203) 2021-12-14 21:11:03 +00:00
address_book.rs Security: Limit address book size to limit memory usage (#3162) 2021-12-06 16:09:10 -03:00
address_book_updater.rs Check for panics in the address book updater task (#3064) 2021-11-18 12:34:51 +00:00
config.rs Fix slow Zebra startup times, to reduce CI failures (#3104) 2021-11-30 21:04:32 +00:00
constants.rs Disconnect from outdated peers on network upgrade (#3108) 2021-12-09 02:54:29 +00:00
isolated.rs Refactor addr v1 serialization using a separate AddrV1 type (#3021) 2021-11-10 06:47:50 +10:00
lib.rs Stop asking users to report peer errors, fix a common peer error (#3054) 2021-11-15 11:32:18 -03:00
meta_addr.rs Stop doing thousands of time checks each time we connect to a peer (#3106) 2021-12-03 15:09:43 -03:00
peer.rs Add diagnostics for peer set hangs (#3203) 2021-12-14 21:11:03 +00:00
peer_set.rs Track the number of active inbound and outbound peer connections (#2912) 2021-10-21 21:36:42 +00:00
policies.rs Fix sync algorithm. (#887) 2020-08-12 16:48:01 -07:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00