Capture this:
for _, t in box.space.session.index.user:pairs({uid}) do
local session_id = t[F.session.id]
box.space.session:delete({session_id})
end
Can there be any performance or correctness problems?
Tarantool 1.9
It's totally fine. However, be advised of the following: