From 6aad12424191f01a655507a44a30aca61330e910 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Wed, 31 Jan 2018 22:52:12 -0500 Subject: [PATCH] crawl: somebody should set max_transid The previous commit had both max_transid assigments commented out. It happens to work because we set max_transid in the constructor and it doesn't change after that, but it's cleaner to assign it explicitly. Signed-off-by: Zygo Blaxell --- src/bees-roots.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bees-roots.cc b/src/bees-roots.cc index 1bf6840..172b547 100644 --- a/src/bees-roots.cc +++ b/src/bees-roots.cc @@ -868,7 +868,7 @@ BeesCrawl::fetch_extents() // new references, and max_transid filtering in the kernel locks // the filesystem while slowing us down. // sk.max_transid = old_state.m_max_transid; - // sk.max_transid = numeric_limits::max(); + sk.max_transid = numeric_limits::max(); sk.nr_items = BEES_MAX_CRAWL_SIZE; // Lock in the old state