diff --git a/veilid-core/src/storage_manager/record_store.rs b/veilid-core/src/storage_manager/record_store.rs index 70bbf694..1a00c973 100644 --- a/veilid-core/src/storage_manager/record_store.rs +++ b/veilid-core/src/storage_manager/record_store.rs @@ -612,7 +612,7 @@ where // Update record self.with_record_mut(key, |record| { record.store_subkey(subkey); - record.set_record_data_size(new_record_data_size); + record.set_record_data_size(new_total_size); }) .expect("record should still be here");