minor doc changes

This commit is contained in:
Alfredo Garcia 2024-03-28 18:17:29 -03:00 committed by GitHub
parent 5c99fe9fec
commit 986795a21b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -542,9 +542,7 @@ impl DiskDb {
.unwrap_or(Some(0));
total_size_in_mem += mem_table_size.unwrap_or(0);
// TODO: Consider displaying the disk and memory sizes in a human-readable format (e.g., MiB, GiB)
// This might require adding a dependency like the `human_bytes` crate (https://crates.io/crates/human_bytes)
// See https://github.com/ZcashFoundation/zebra/pull/8336#discussion_r1520535787
// TODO: Consider displaying the disk and memory sizes in a human-readable format - #8380.
write!(
column_families_log_string,
"{} (Disk: {} bytes, Memory: {} bytes)",
@ -785,7 +783,7 @@ impl DiskDb {
// we read any existing column families off the disk, then add any new column families
// from the current implementation.
//
// <https://github.com/facebook/rocksdb/wiki/Column-Families#reference
// <https://github.com/facebook/rocksdb/wiki/Column-Families#reference>
let column_families_on_disk = DB::list_cf(db_options, path).unwrap_or_default();
let column_families = column_families_on_disk
.into_iter()