Server tools to backfill, tail, mirror, and verify PLC logs
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

plc_rocksdb: proper key prefix on get

geesawra 4e6616a1 f39777b5

+1 -1
+1 -1
src/plc_rocksdb.rs
··· 267 267 268 268 let cf = db.cf_handle("ops").unwrap(); 269 269 270 - let key_prefix = format!("{}_", id); 270 + let key_prefix = format!("{:0width$}_", id, width = u64::MAX.to_string().len(),); 271 271 272 272 let mut va: Vec<Op> = db 273 273 .prefix_iterator_cf(&cf, key_prefix.clone())