Skip to content

Commit efdded6

Browse files
committed
add comment about segment info
1 parent 956c6eb commit efdded6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libsql-wal/src/storage/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ pub trait Storage: Send + Sync + 'static {
219219
pub struct SegmentInfo {
220220
pub key: SegmentKey,
221221
pub size: usize,
222+
/// when that segment was created. This is different from the segment timestamp, corresponding
223+
/// to the last commit date in this segment
222224
pub created_at: DateTime<Utc>,
223225
}
224226

0 commit comments

Comments
 (0)