mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
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.
This commit is contained in:
parent
5a7f92481e
commit
3047121255
@ -46,7 +46,7 @@ const (
|
|||||||
dataUpdateTrackerQueueSize = 10000
|
dataUpdateTrackerQueueSize = 10000
|
||||||
|
|
||||||
dataUpdateTrackerFilename = dataUsageBucket + SlashSeparator + ".tracker.bin"
|
dataUpdateTrackerFilename = dataUsageBucket + SlashSeparator + ".tracker.bin"
|
||||||
dataUpdateTrackerVersion = 2
|
dataUpdateTrackerVersion = 3
|
||||||
dataUpdateTrackerSaveInterval = 5 * time.Minute
|
dataUpdateTrackerSaveInterval = 5 * time.Minute
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -366,7 +366,7 @@ func (d *dataUpdateTracker) deserialize(src io.Reader, newerThan time.Time) erro
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
switch tmp[0] {
|
switch tmp[0] {
|
||||||
case 1:
|
case 1, 2:
|
||||||
logger.Info(color.Green("dataUpdateTracker: ") + "deprecated data version, updating.")
|
logger.Info(color.Green("dataUpdateTracker: ") + "deprecated data version, updating.")
|
||||||
return nil
|
return nil
|
||||||
case dataUpdateTrackerVersion:
|
case dataUpdateTrackerVersion:
|
||||||
|
Loading…
Reference in New Issue
Block a user