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

Commit

Permalink
rename stats current frame_no to replication index (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinPostma authored Sep 25, 2023
1 parent fef7293 commit 149e132
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 149e132

Please sign in to comment.