[Tarantool-patches] [PATCH 2/2] vinyl: skip invalid upserts during squash
Konstantin Osipov
kostja.osipov at gmail.com
Thu May 21 11:36:01 MSK 2020
* Nikita Pettik <korablev at tarantool.org> [20/05/21 05:54]:
> Data will always will be acceptable according to the format because
> PK format can't change.
The format used for squashing may be taken from the primary key
lsm, but there are type constraints which impact even non-indexed
fields.
Imagine nullable -> not null change in SQL, and a pending upsert
which assigns NULL to a not nullable field.
Or addition/removal of is_optional on a field in the format.
We don't allow much there, but it would be good to at least
*consider* what we allow and make sure it's safe.
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list