Add proper storage stats for HA
Summary: `SHOW STORAGE STATS` when executed in a Raft cluster should return stats for each member of the cluster. `StorageStats` starts a RPC server on each member of the cluster that answers about its local storage stats. The query can be invoked only on the current leader, the leader sends a request to each peer and shows the results it gets. If some peers don't answer within 1 second, stats for those peers won't be shown. The new output can be seen here: P27 Reviewers: ipaljak, mferencevic Reviewed By: ipaljak Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1907
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -94,6 +94,8 @@ src/raft/raft_rpc_messages.capnp
|
||||
src/raft/raft_rpc_messages.hpp
|
||||
src/raft/snapshot_metadata.capnp
|
||||
src/raft/snapshot_metadata.hpp
|
||||
src/raft/storage_info_rpc_messages.hpp
|
||||
src/raft/storage_info_rpc_messages.capnp
|
||||
src/stats/stats_rpc_messages.capnp
|
||||
src/stats/stats_rpc_messages.hpp
|
||||
src/storage/distributed/rpc/concurrent_id_mapper_rpc_messages.capnp
|
||||
|
||||
Reference in New Issue
Block a user