Skip to content

Commit 54dd497

Browse files
ldanilekConvex, Inc.
authored and
Convex, Inc.
committed
[cluster migration] only copy documents log within retention (#23637)
GitOrigin-RevId: f244fb0ef7e3325d7d05d8f5571f27c43b82b4d2
1 parent 191261b commit 54dd497

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/common/src/persistence.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ use crate::{
5353
},
5454
};
5555

56-
pub type DocumentStream<'a> =
57-
BoxStream<'a, anyhow::Result<(Timestamp, InternalDocumentId, Option<ResolvedDocument>)>>;
56+
pub type DocumentLogEntry = (Timestamp, InternalDocumentId, Option<ResolvedDocument>);
57+
58+
pub type DocumentStream<'a> = BoxStream<'a, anyhow::Result<DocumentLogEntry>>;
5859

5960
/// No tombstones included
6061
pub type LatestDocumentStream<'a> = BoxStream<'a, anyhow::Result<(Timestamp, ResolvedDocument)>>;

0 commit comments

Comments
 (0)