Files
scylladb/db
Glauber Costa a0b5c5d13e do not move altered inside capture
If we move altered inside this lambda, the next invocations of the outter
lambda will see a corrupted value. So in the case of smp, invoke_on_all will
invoke correctly in the first shard, but then see a bogus altered vector on
the subsequent ones.

Capturing a reference is fine, because the outer lambda will not be destroyed
until the inner one completes - so the object will live in the capture list.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-06-25 22:00:18 +02:00
..
2015-04-17 15:08:06 +02:00
2015-06-03 10:13:52 +02:00
2015-06-14 11:32:57 +03:00
2015-06-15 12:51:09 +03:00
2015-06-15 12:51:09 +03:00