Closed olegrok closed 1 year ago
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{} --- - [] ...
duplicate https://github.com/tarantool/vshard/issues/400
duplicate #400
Oh. Thanks.
Recently I found following error in my logs (in tests).
Seems sometimes new_tuple could be null in on_replace trigger for _truncate space.