Skip to content

Commit

Permalink
safekeeper: retain u64 in json serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
koivunej committed Oct 9, 2023
1 parent 0d2b9aa commit 6a2028b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions safekeeper/src/json_ctrl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ pub struct AppendLogicalMessage {

// fields from AppendRequestHeader
pub term: Term,
#[serde(with = "utils::lsn::serde_as_u64")]
pub epoch_start_lsn: Lsn,
#[serde(with = "utils::lsn::serde_as_u64")]
pub begin_lsn: Lsn,
#[serde(with = "utils::lsn::serde_as_u64")]
pub truncate_lsn: Lsn,
pub pg_version: u32,
}
Expand Down

0 comments on commit 6a2028b

Please sign in to comment.