+7
-2
ufos/src/consumer.rs
+7
-2
ufos/src/consumer.rs
······// TODO: report errors *from here* probably, since this gets shipped off into a spawned task that might just vanish
······// TODO: report errors *from here* probably, since this gets shipped off into a spawned task that might just vanish
+30
-4
ufos/src/file_consumer.rs
+30
-4
ufos/src/file_consumer.rs
·········
······+async fn read_jsonl(f: File, sender: Sender<JetstreamEvent>, cursor: Option<Cursor>) -> Result<()> {+log::info!("jsonl fixture: found existing db cursor! skipped {skipped} old events and failed parsing {bad_lines} lines");+anyhow::bail!("jsonl fixture: did not find existing db cursor, found event cursor {:?} which is newer. bailing.", event.cursor);···
+4
-2
ufos/src/main.rs
+4
-2
ufos/src/main.rs
······
······
+7
-7
ufos/src/storage_fjall.rs
+7
-7
ufos/src/storage_fjall.rs
·········let (danglers, deleted) = self.0.trim_collection(collection, 512, false).inspect_err(|e| log::error!("trim error: {e:?}"))?;
·········let (danglers, deleted) = self.0.trim_collection(collection, 512, false).inspect_err(|e| log::error!("trim error: {e:?}"))?;