vinyl: set index option defaults from global defaults at create time
Index page size and range size are storage-level properties and can not change during index life time. Initialize these properties from global defaults at index creation time. This way they are not affected after restart with different global options. Remove "engine-level" options support from Lua, all options are known to us now that we ditched third party engines.
Showing
- src/box/alter.cc 3 additions, 3 deletionssrc/box/alter.cc
- src/box/key_def.cc 0 additions, 6 deletionssrc/box/key_def.cc
- src/box/key_def.h 0 additions, 3 deletionssrc/box/key_def.h
- src/box/lua/schema.lua 39 additions, 27 deletionssrc/box/lua/schema.lua
- src/box/vinyl.c 0 additions, 4 deletionssrc/box/vinyl.c
- test/box/alter.result 2 additions, 2 deletionstest/box/alter.result
- test/vinyl/options.result 1 addition, 1 deletiontest/vinyl/options.result
- test/vinyl/options.test.lua 1 addition, 1 deletiontest/vinyl/options.test.lua
- test/vinyl/suite.cfg 0 additions, 3 deletionstest/vinyl/suite.cfg
Loading
Please register or sign in to comment