at protocol indexer with flexible filtering, xrpc queries, and a cursor-backed event stream, built on fjall
at-protocol atproto indexer rust fjall

[backfill] fix rkey parsing when binary TID contains separator byte

ptr.pet 6889adbe 452a704d

verified
+1 -1
+1 -1
src/backfill/mod.rs
··· 540 540 let (key, cid_bytes) = guard.into_inner().into_diagnostic()?; 541 541 // key is did|collection|rkey 542 542 // skip did| 543 - let mut remaining = key[prefix.len()..].split(|b| keys::SEP.eq(b)); 543 + let mut remaining = key[prefix.len()..].splitn(2, |b| keys::SEP.eq(b)); 544 544 let collection_raw = remaining 545 545 .next() 546 546 .ok_or_else(|| miette::miette!("invalid record key format: {key:?}"))?;