From 61bb0b37f30de0df98511be77c0889fb5829fe71 Mon Sep 17 00:00:00 2001 From: ziyi chen Date: Thu, 8 Jun 2023 21:35:37 -0400 Subject: [PATCH] Change page-list-group-size to 20 --- CMakeLists.txt | 2 +- src/include/common/constants.h | 2 +- src/include/storage/storage_info.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f262d3f130..27b9ab0bb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.11) -project(Kuzu VERSION 0.0.4 LANGUAGES CXX) +project(Kuzu VERSION 0.0.5 LANGUAGES CXX) find_package(Threads REQUIRED) diff --git a/src/include/common/constants.h b/src/include/common/constants.h index f474f4676b..0c348abd13 100644 --- a/src/include/common/constants.h +++ b/src/include/common/constants.h @@ -84,7 +84,7 @@ struct ListsMetadataConstants { // PAGE_LIST_GROUP_SIZE + 1 each and chained together. In each piece, there are // PAGE_LIST_GROUP_SIZE elements of that list and the offset to the next pageListGroups in the // blob that contains all pageListGroups of all lists. - static constexpr uint32_t PAGE_LIST_GROUP_SIZE = 3; + static constexpr uint32_t PAGE_LIST_GROUP_SIZE = 20; static constexpr uint32_t PAGE_LIST_GROUP_WITH_NEXT_PTR_SIZE = PAGE_LIST_GROUP_SIZE + 1; }; diff --git a/src/include/storage/storage_info.h b/src/include/storage/storage_info.h index d4722f4bf7..0ff9cec339 100644 --- a/src/include/storage/storage_info.h +++ b/src/include/storage/storage_info.h @@ -12,8 +12,8 @@ using storage_version_t = uint64_t; struct StorageVersionInfo { static std::unordered_map getStorageVersionInfo() { - return {{"0.0.4", 7}, {"0.0.3.5", 6}, {"0.0.3.4", 5}, {"0.0.3.3", 4}, {"0.0.3.2", 3}, - {"0.0.3.1", 2}, {"0.0.3", 1}}; + return {{"0.0.5", 8}, {"0.0.4", 7}, {"0.0.3.5", 6}, {"0.0.3.4", 5}, {"0.0.3.3", 4}, + {"0.0.3.2", 3}, {"0.0.3.1", 2}, {"0.0.3", 1}}; } static storage_version_t getStorageVersion();