Q. I suggest two possible errors when doing an upsert:
it is illegal to modify a primary-key field and
it is illegal to use upsert on a space that has a unique secondary index.
I’m curious to know why Tarantool does not support these if there is a unique secondary index.
A. In these cases, we must check the input arguments against the space schema, which is quite expensive.