Skip to content

Commit

Permalink
RavenDB-22585 : address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aviv committed Jul 8, 2024
1 parent 00e67d4 commit e63da03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Raven.Server/Smuggler/Migration/Importer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e63da03

Please sign in to comment.