]> git.hungrycats.org Git - bees/commitdiff
progress: relabel the inaccurate ETA column
authorZygo Blaxell <bees@furryterror.org>
Fri, 13 Dec 2024 03:56:48 +0000 (22:56 -0500)
committerZygo Blaxell <bees@furryterror.org>
Fri, 13 Dec 2024 04:10:15 +0000 (23:10 -0500)
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>
src/bees-roots.cc

index cd96636e3f190af9826fb51c3d115a936c2cb76b..3895927ac2fae325af5183af20ac09c8189405a6 100644 (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));