[Tarantool-patches] [PATCH v3 04/13] txm: introduce dirty tuples
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Thu Jul 16 03:05:27 MSK 2020
Thanks for the patch!
> diff --git a/src/box/tuple.h b/src/box/tuple.h
> index 9a88772..4752323 100644
> --- a/src/box/tuple.h
> +++ b/src/box/tuple.h
> @@ -1081,8 +1087,10 @@ tuple_unref(struct tuple *tuple)
> assert(tuple->refs - 1 >= 0);
> if (unlikely(tuple->is_bigref))
> tuple_unref_slow(tuple);
> - else if (--tuple->refs == 0)
> + else if (--tuple->refs == 0) {
> + assert(!tuple->is_dirty);
My question regarding this assertion remains - who is supposed
to remove the flag and when?
More information about the Tarantool-patches
mailing list