From e63da030a4f2cd05760f6d5d82807d99a0202a22 Mon Sep 17 00:00:00 2001 From: aviv Date: Mon, 8 Jul 2024 11:05:20 +0300 Subject: [PATCH] RavenDB-22585 : address PR comment --- src/Raven.Server/Smuggler/Migration/Importer.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Raven.Server/Smuggler/Migration/Importer.cs b/src/Raven.Server/Smuggler/Migration/Importer.cs index af54c6eeebbe..b8c449d5bff0 100644 --- a/src/Raven.Server/Smuggler/Migration/Importer.cs +++ b/src/Raven.Server/Smuggler/Migration/Importer.cs @@ -92,11 +92,12 @@ private async Task SaveLastState(long operationId, ImportInfo previousImportInfo smugglerResult.TimeSeries = new SmugglerProgressBase.CountsWithSkippedCountAndLastEtag(); } - if ((_buildVersion >= 4000 && _buildVersion <= 54133) || (_buildVersion >= 6000 && _buildVersion <= 60035)) + if ((_buildVersion >= 4000 && _buildVersion <= 54133) || + (_buildVersion >= 6000 && _buildVersion <= 60035) || + (_buildVersion >= 40 && _buildVersion < 54)) { // prevent NRE, time series deleted ranges were added in 5.4.201 and 6.0.105 smugglerResult.TimeSeriesDeletedRanges = new SmugglerProgressBase.CountsWithSkippedCountAndLastEtag(); - } var importInfo = new ImportInfo