Are you sure you're waiting for the update operation to finish before starting the find operation? Otherwise you might run into a race condition.
-- Sainan
--
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lua-l+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lua-l/Ir2lUa-mtFDXi_CwONBC9oVpKR2bXZiVPwORtY4dvlHxG1cbgNdARA1dbhmYigbOKAo6pB7K1eIniInZceHDBLm0owAqnn01QNBzTocE48E%3D%40calamity.inc.