Skip to content

Commit

Permalink
s/mvlog: serde_fields for record_batch_entry_body
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiman committed Aug 21, 2024
1 parent 82d1b25 commit 6a00995
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v/storage/mvlog/entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ struct record_batch_entry_body

// The term of the record batch.
model::term_id term;

auto serde_fields() { return std::tie(record_batch_header, records, term); }
};

// Container for the deserialized bytes from an entry. Note that this isn't an
Expand Down

0 comments on commit 6a00995

Please sign in to comment.