Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

rename stats current frame_no to replication index #699

Merged
merged 1 commit into from
Sep 25, 2023
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
4 changes: 2 additions & 2 deletions sqld/src/http/admin/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct StatsResponse {
pub rows_written_count: u64,
pub storage_bytes_used: u64,
pub write_requests_delegated: u64,
pub current_frame_no: FrameNo,
pub replication_index: FrameNo,
}

impl From<&Stats> for StatsResponse {
Expand All @@ -27,7 +27,7 @@ impl From<&Stats> for StatsResponse {
rows_written_count: stats.rows_written(),
storage_bytes_used: stats.storage_bytes_used(),
write_requests_delegated: stats.write_requests_delegated(),
current_frame_no: stats.get_current_frame_no(),
replication_index: stats.get_current_frame_no(),
}
}
}
Expand Down