···12221222 AllTimeRecordsKey::new(new_creates_count.into(), &nsid).to_db_bytes()?,
12231223 ),
12241224 };
12251225- batch.remove(&self.rollups, &old_k); // TODO: when fjall gets weak delete, this will hopefully work way better
12251225+ // remove_weak is allowed here because the secondary ranking index only ever inserts once at a key
12261226+ batch.remove_weak(&self.rollups, &old_k);
12261227 batch.insert(&self.rollups, &new_k, "");
12271228 }
12281229···12461247 AllTimeDidsKey::new(new_dids_estimate.into(), &nsid).to_db_bytes()?,
12471248 ),
12481249 };
12491249- batch.remove(&self.rollups, &old_k); // TODO: when fjall gets weak delete, this will hopefully work way better
12501250+ // remove_weak is allowed here because the secondary ranking index only ever inserts once at a key
12511251+ batch.remove_weak(&self.rollups, &old_k);
12501252 batch.insert(&self.rollups, &new_k, "");
12511253 }
12521254