vshard/storage/init.lua:528: attempt to index local 'new_tuple' (a nil value)
olegrok opened this issue · 2 comments
olegrok commented
Recently I found following error in my logs (in tests).
LuajitError: ...tarantool/.rocks/share/tarantool/vshard/storage/init.lua:528: attempt to index local 'new_tuple' (a nil value)
Seems sometimes new_tuple could be null in on_replace trigger for _truncate space.
tarantool> box.schema.space.create('test')
---
- engine: memtx
before_replace: 'function: 0x0109254708'
field_count: 0
is_sync: false
on_replace: 'function: 0x0109254548'
temporary: false
index: []
is_local: false
enabled: false
name: test
id: 512
- created
...
tarantool> box.space._truncate:select{}
---
- []
...
tarantool> box.space.test:truncate()
---
...
tarantool> box.space._truncate:select{}
---
- - [512, 1]
...
tarantool> box.space.test:drop()
---
...
tarantool> box.space._truncate:select{}
---
- []
...