box: introduce space type
Introduces a new field `type` to the space definition. Currently it can only be "normal" or "data-temporary". It is backwards compatible with temporary=true. @TarantoolBot document Title: Introduce space field type A new space definition field "type" can now be used to specify the type of the space. Usage: box.schema.create_space("s", { type = "normal" }). Currently only 2 types are supported: "normal" & "data-temporary", which is equivalent to { temporary = true }. Old-style { temporary = true } is still supported, but only one option either 'temporary' or 'type' may be specified at the same time. Space type "temporary" will be introduced in a later commit. In the future options "local", "synchronous", etc. may also be supported. NO_TEST=will be tested in the following commit
parent
1c80eedb
No related branches found
No related tags found
Showing
- changelogs/unreleased/space-type.md 3 additions, 0 deletionschangelogs/unreleased/space-type.md
- src/box/alter.cc 10 additions, 3 deletionssrc/box/alter.cc
- src/box/lua/schema.lua 32 additions, 2 deletionssrc/box/lua/schema.lua
- src/box/lua/space.cc 6 additions, 1 deletionsrc/box/lua/space.cc
- src/box/space.c 1 addition, 1 deletionsrc/box/space.c
- src/box/space.h 1 addition, 1 deletionsrc/box/space.h
- src/box/space_def.c 74 additions, 4 deletionssrc/box/space_def.c
- src/box/space_def.h 39 additions, 5 deletionssrc/box/space_def.h
- src/box/sql/build.c 1 addition, 1 deletionsrc/box/sql/build.c
- src/box/vinyl.c 1 addition, 1 deletionsrc/box/vinyl.c
Loading
Please register or sign in to comment