You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// we don't store unordered segments, since they only happen in two cases:
204
-
// - in a replica: no need for storage
205
-
// - in a primary, on recovery from storage: we don't want to override remote
206
-
// segment.
207
-
!self
208
-
.header()
209
-
.flags()
210
-
.contains(SegmentFlags::FRAME_UNORDERED)
214
+
fntimestamp(&self) -> DateTime<Utc>{
215
+
assert_ne!(self.header().sealed_at_timestamp.get(),0,"segment was not sealed properly");
216
+
DateTime::from_timestamp_millis(self.header().sealed_at_timestamp.get()as_).expect("this should be a guaranteed roundtrip with DateTime::timestamp_millis")
0 commit comments