[tarantool-patches] Re: [PATCH v2 3/9] box: fix Tarantool upgrade from 2.1.0 to 2.1.1

Kirill Yukhin kyukhin at tarantool.org
Tue Mar 26 12:52:04 MSK 2019


Hello,

On 30 Jan 11:59, Kirill Shcherbatov wrote:
> Tarantool could not start from the snapshot created by version
> 2.1.0 because the new version 2.1.1 does not support the
> index.opts.sql index opt and stops the execution.
> Introduced a special state OPT_DEF_LEGACY macro to ignore legacy
> options and introduced migration code in upgrade.lua.
> ---
>  src/box/bootstrap.snap                        | Bin 1911 -> 1914 bytes
>  src/box/index_def.c                           |   1 +
>  src/box/lua/upgrade.lua                       |  24 +++++++-
>  src/box/opt_def.c                             |   3 +
>  src/box/opt_def.h                             |  12 ++--
>  test/box-py/bootstrap.result                  |   2 +-
>  test/sql/upgrade.result                       |  52 ++++++++++++++++++
>  test/sql/upgrade.test.lua                     |  17 ++++++
>  .../upgrade/2.1.0/00000000000000000003.snap   | Bin 0 -> 2124 bytes
>  9 files changed, 105 insertions(+), 6 deletions(-)
>  create mode 100644 test/sql/upgrade/2.1.0/00000000000000000003.snap

I've checked your patch into 2.1 branch.

--
Regards, Kirill Yukhin




More information about the Tarantool-patches mailing list