From 42cb94f8fa4e02434b96f4710f09ec236be5becb Mon Sep 17 00:00:00 2001 From: Andrey Saranchin Date: Tue, 6 Aug 2024 08:47:23 +0300 Subject: [PATCH] schema: add new system space _gc_consumers Tarantool is being populated with new system space, so we need to add it to the list of all system spaces in `crud.schema`. Closes #443 --- CHANGELOG.md | 7 +++++++ crud/schema.lua | 1 + 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89f69bd4..04c15224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +* `crud.schema` no longer returns system space `_gc_consumers` with Tarantool 3.2+. +* Tests of `schema` with Tarantool 3.2+. + ## [1.5.2] - 20-05-24 ### Fixed diff --git a/crud/schema.lua b/crud/schema.lua index 062587c7..b3d3346d 100644 --- a/crud/schema.lua +++ b/crud/schema.lua @@ -36,6 +36,7 @@ schema.system_spaces = { ['_ck_constraint'] = true, ['_func_index'] = true, ['_session_settings'] = true, + ['_gc_consumers'] = true, -- https://github.com/tarantool/vshard/blob/b3c27b32637863e9a03503e641bb7c8c69779a00/vshard/storage/init.lua#L752 ['_bucket'] = true, -- https://github.com/tarantool/ddl/blob/b55d0ff7409f32e4d527e2d25444d883bce4163b/test/set_sharding_metadata_test.lua#L92-L98