Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(replica): snapshot space information for replicas #72

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions protobuf/v1/replica.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ message ReplicaSpaceUsage {
uint64 cluster_size = 3; // cluster size in bytes
uint64 num_clusters = 4; // total number of clusters
uint64 num_allocated_clusters = 5; // number of actually used clusters
uint64 allocated_bytes_snapshots = 6; // amount of space allocated by all replica snapshots
uint64 num_allocated_clusters_snapshots = 7; // number of clusters used by all replica snapshots
}

// Replica properties
Expand Down