diff --git a/src/Raven.Server/Smuggler/Migration/Importer.cs b/src/Raven.Server/Smuggler/Migration/Importer.cs index b8c449d5bff0..868860e39d4c 100644 --- a/src/Raven.Server/Smuggler/Migration/Importer.cs +++ b/src/Raven.Server/Smuggler/Migration/Importer.cs @@ -80,20 +80,20 @@ private async Task SaveLastState(long operationId, ImportInfo previousImportInfo if (smugglerResult == null) return; - if ((_buildVersion >= 40000 && _buildVersion < 41000) || _buildVersion == 40) + if ((_buildVersion >= 40_000 && _buildVersion < 41_000) || _buildVersion == 40) { // prevent NRE, counter were added in 4.1 smugglerResult.Counters = new SmugglerProgressBase.CountsWithSkippedCountAndLastEtag(); } - if ((_buildVersion >= 40000 && _buildVersion < 50000) || (_buildVersion >= 40 && _buildVersion < 50)) + if ((_buildVersion >= 40_000 && _buildVersion < 50_000) || (_buildVersion >= 40 && _buildVersion < 50)) { // prevent NRE, time series were added in 5.0 smugglerResult.TimeSeries = new SmugglerProgressBase.CountsWithSkippedCountAndLastEtag(); } - if ((_buildVersion >= 4000 && _buildVersion <= 54133) || - (_buildVersion >= 6000 && _buildVersion <= 60035) || + if ((_buildVersion >= 40_000 && _buildVersion <= 54_133) || + (_buildVersion >= 60_000 && _buildVersion <= 60_035) || (_buildVersion >= 40 && _buildVersion < 54)) { // prevent NRE, time series deleted ranges were added in 5.4.201 and 6.0.105