1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

progress: relabel the inaccurate ETA column

ETA is calculated using a sample obtained by snooping on bees's normal
crawling operations.

This sample is heavily biased and not representative of the entire
filesystem.  If the distribution of extent sizes in the filesystem is
not uniform, the ETA can be wildly wrong.

Collecting an accurate sample set would require extra IO and CPU time
which should be spent doing dedupes instead.

Explicitly label the ETA as inaccurate to avoid having too many users
report the same bug.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
Zygo Blaxell 2024-12-12 22:56:48 -05:00
parent 9beb602b16
commit 31f3a8d67d

View File

@ -1078,7 +1078,7 @@ BeesScanModeExtent::next_transid(const CrawlMap &crawl_map_unused)
Table::Text("transid"),
Table::Number(m_roots->transid_max()),
Table::Text("todo"),
Table::Text("ETA"),
Table::Text("inaccurate ETA"),
});
const auto dash_fill = Table::Fill('-');
eta.insert_row(1, vector<Table::Content>(eta.cols().size(), dash_fill));