tarantool/tarantool
View on GitHubProvide careful validation for box.schema.space.create() arguments
Open
#5,636 opened on Dec 17, 2020
featuregood first issueverbosity
Description
Now only memtx spaces can be temporary. Support of vinyl temporary spaces should be added in scope of #1785. However, now it is possible specify vinyl engine alongside with 'temporary' option:
box.schema.space.create('temp', {temporary=true}, {engine = 'vinyl'})
---
- engine: memtx
...
As one can see, vinyl engine is ignored and created space anyway uses memtx. I suggest to raise an error in this case in order to avoid misunderstanding.