From 2c16732536f8fb18786307096e5cd7bc91d8fd50 Mon Sep 17 00:00:00 2001 From: alesapin Date: Sun, 15 Mar 2020 22:34:36 +0300 Subject: [PATCH] Revert version check --- dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp b/dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp index 6f48055318be..7aac3128930c 100644 --- a/dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp +++ b/dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp @@ -109,7 +109,7 @@ void ReplicatedMergeTreeLogEntryData::readText(ReadBuffer & in) in >> "format version: " >> format_version >> "\n"; - if (format_version < 1 || format_version > 5) + if (format_version < 1 || format_version > 4) throw Exception("Unknown ReplicatedMergeTreeLogEntry format version: " + DB::toString(format_version), ErrorCodes::UNKNOWN_FORMAT_VERSION); if (format_version >= 2)