From 30471212551b2507c44d0afe7d629a5ff460834b Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Wed, 30 Sep 2020 16:10:40 -0700 Subject: [PATCH] dataupdate: Bump to force rescan (#10609) After #10594 let's invalidate the bloom filters to force the next cycles to go through all data. There is a small chance that the linked PR could have caused missing bloom filter data. This will invalidate the current bloom filters and make the crawler go through everything. --- cmd/data-update-tracker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/data-update-tracker.go b/cmd/data-update-tracker.go index 9dab996d7..57e99e49d 100644 --- a/cmd/data-update-tracker.go +++ b/cmd/data-update-tracker.go @@ -46,7 +46,7 @@ const ( dataUpdateTrackerQueueSize = 10000 dataUpdateTrackerFilename = dataUsageBucket + SlashSeparator + ".tracker.bin" - dataUpdateTrackerVersion = 2 + dataUpdateTrackerVersion = 3 dataUpdateTrackerSaveInterval = 5 * time.Minute ) @@ -366,7 +366,7 @@ func (d *dataUpdateTracker) deserialize(src io.Reader, newerThan time.Time) erro return err } switch tmp[0] { - case 1: + case 1, 2: logger.Info(color.Green("dataUpdateTracker: ") + "deprecated data version, updating.") return nil case dataUpdateTrackerVersion: