select: do not fetch the key following the last one from the engine
space:select(key, {limit = N}) limits the output to N keys, but it still fetches the (N+1)-th key from the engine. This is pointless. Besides, this can result in a conflict in Vinyl as Vinyl adds all keys returned by iterator to the conflict manager.
Please register or sign in to comment