+6
-9
Cargo.lock
+6
-9
Cargo.lock
·········
···+source = "git+https://github.com/uniphil/atrium?branch=fix%2Fnsid-allow-nonleading-name-digits#c4364f318d337bbc3e3e3aaf97c9f971e95f5f7e"···+source = "git+https://github.com/uniphil/atrium?branch=fix%2Fnsid-allow-nonleading-name-digits#c4364f318d337bbc3e3e3aaf97c9f971e95f5f7e"···+source = "git+https://github.com/uniphil/atrium?branch=fix%2Fnsid-allow-nonleading-name-digits#c4364f318d337bbc3e3e3aaf97c9f971e95f5f7e"
+1
-1
jetstream/Cargo.toml
+1
-1
jetstream/Cargo.toml
···+atrium-api = { git = "https://github.com/uniphil/atrium", branch = "fix/nsid-allow-nonleading-name-digits", default-features = false, features = [
+2
-2
jetstream/src/lib.rs
+2
-2
jetstream/src/lib.rs
···-log::warn!("event cursor {event_cursor:?} was older than the last one: {last:?}. dropping event.");···-log::warn!("event cursor {event_cursor:?} was older than the last one: {last:?}. dropping event.");
···+log::warn!("event cursor {event_cursor:?} was not newer than the last one: {last:?}. dropping event.");···+log::warn!("event cursor {event_cursor:?} was not newer than the last one: {last:?}. dropping event.");
+32
-12
ufos/src/consumer.rs
+32
-12
ufos/src/consumer.rs
························
············+// TODO: report errors *from here* probably, since this gets shipped off into a spawned task that might just vanish············+async fn send_current_batch_now(&mut self, small: bool, referrer: &str) -> anyhow::Result<()> {
+24
-8
ufos/src/file_consumer.rs
+24
-8
ufos/src/file_consumer.rs
······
······
+1
ufos/src/lib.rs
+1
ufos/src/lib.rs
+143
-4
ufos/src/main.rs
+143
-4
ufos/src/main.rs
························
························+let nice_dt_two_maybes = |earlier: Option<Cursor>, later: Option<Cursor>| match (earlier, later)+"cursor: {} behind (→{}, {cursor_rate}x, {cursor_avg}x avg). rollup: {} behind (→{}, {rollup_rate}x, {rollup_avg}x avg).",+latest_cursor.map(|c| c.elapsed().map(nice_duration).unwrap_or("++".to_string())).unwrap_or("?".to_string()),+rollup_cursor.map(|c| c.elapsed().map(nice_duration).unwrap_or("++".to_string())).unwrap_or("?".to_string()),
+4
-3
ufos/src/storage.rs
+4
-3
ufos/src/storage.rs
······
······
+41
-27
ufos/src/storage_fjall.rs
+41
-27
ufos/src/storage_fjall.rs
·····················-log::info!("trim_collection ({collection:?}) removed {dangling_feed_keys_cleaned} dangling feed entries and {records_deleted} records");·········-// "batch of {: >3} samples from {: >4} records in {: >2} collections from ~{: >4} DIDs, {} acct removes, cursor {: <12?}",
······+"stored js_endpoint {stored:?} differs from provided {endpoint:?}, refusing to start without --jetstream-force.")));···············+log::trace!("trim_collection ({collection:?}) removed {dangling_feed_keys_cleaned} dangling feed entries and {records_deleted} records");······+let (danglers, deleted) = self.0.trim_collection(collection, 512).inspect_err(|e| log::error!("trim error: {e:?}"))?;+log::info!("finished trimming {n} nsids in {:?}: {total_danglers} dangling and {total_deleted} total removed.", t0.elapsed());···
+9
-4
ufos/src/storage_mem.rs
+9
-4
ufos/src/storage_mem.rs
············log::info!("trim_collection ({collection:?}) removed {dangling_feed_keys_cleaned} dangling feed entries and {records_deleted} records");···
············log::info!("trim_collection ({collection:?}) removed {dangling_feed_keys_cleaned} dangling feed entries and {records_deleted} records");···