Skip to content
Snippets Groups Projects
Commit d9e0b58a authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Vladimir Davydov
Browse files

alter: move format compatibility check to space_check_format

We assume that if the new format can store tuples matching the old
format, we can update the space format without calling the engine
check_format callback. This is true for both memtx and vinyl but
not for memcs (EE), which doesn't support extending field types
(e.g. changing int16 to int32).

Let's call the engine check_format callback unconditionally and let
it decide whether tuple format checking can be skipped.

Needed for tarantool/tarantool-ee#694

NO_DOC=refactoring
NO_TEST=refactoring
NO_CHANGELOG=refactoring
parent 94d28138
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment