Skip to content

Commit f8d36c0

Browse files
a1div0vakhov
authored andcommitted
schema: filter TCF system space
(cherry picked from commit 467758accda3c0bb16a6fb7c801639b0da4c20ef)
1 parent 22265f0 commit f8d36c0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
## [Unreleased]
99

1010
### Fixed
11-
11+
* `crud.schema` no longer returns TCF system space `_cdc_state`.
1212
* `crud.schema` no longer returns system space `_gc_consumers` with Tarantool 3.2+.
1313
* `crud.schema` no longer returns `tt` system space `_tt_migrations`.
1414
* Tests of `schema` with Tarantool 3.2+.

crud/schema.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ schema.system_spaces = {
4444
['_ddl_sharding_func'] = true,
4545
-- https://github.com/tarantool/tt-ee/blob/6045cd6f4f9b10fbba7e2c6abeecb8f856fee9b0/lib/migrations/internal/eval/body/lua/status_api.lua
4646
['_tt_migrations'] = true,
47+
-- https://github.com/tarantool/cluster-federation/blob/01738cafa0dc7a3138e64f93c4e84cb323653257/src/internal/utils/utils.go#L17
48+
['_cdc_state'] = true,
4749
}
4850

4951
local function get_crud_schema(space)

0 commit comments

Comments
 (0)