From ebf7ce6d9fb4090011876352fe26b89668cbedc4 Mon Sep 17 00:00:00 2001 From: hehechen Date: Tue, 7 Jun 2022 19:20:29 +0800 Subject: [PATCH] use pagestorage V2 by default (#5083) ref pingcap/tiflash#5076 --- dbms/src/Storages/FormatVersion.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dbms/src/Storages/FormatVersion.h b/dbms/src/Storages/FormatVersion.h index dbe3d9ee9bc..094a0984332 100644 --- a/dbms/src/Storages/FormatVersion.h +++ b/dbms/src/Storages/FormatVersion.h @@ -118,7 +118,9 @@ inline static const StorageFormatVersion STORAGE_FORMAT_V4 = StorageFormatVersio .identifier = 4, }; -inline StorageFormatVersion STORAGE_FORMAT_CURRENT = STORAGE_FORMAT_V4; +// Note that we don't enable V4 by default because https://github.com/pingcap/tiflash/issues/5076 +// is not yet figure out. +inline StorageFormatVersion STORAGE_FORMAT_CURRENT = STORAGE_FORMAT_V3; inline const StorageFormatVersion & toStorageFormat(UInt64 setting) {