[Tarantool-patches] [PATCH v2 0/2] allow upgrading from version 1.6

Serge Petrenko sergepetrenko at tarantool.org
Fri Aug 13 02:30:30 MSK 2021


Changes in v2:
  - Review fixes as per reviews from Sergos, Vladimir
  - Fix triggers being run on xlogs resulting from
    box.schema.ugrade()
  - Introduce table.equals in a separate commit.
    Use it to define whether some schema changes were
    already applied.

https://github.com/tarantool/tarantool/issues/5894
https://github.com/tarantool/tarantool/tree/sp/gh-5894-1.6-upgrade

Serge Petrenko (2):
  lua: introduce table.equals method
  box: allow upgrading from version 1.6

 src/box/lua/load_cfg.lua                      |  14 +
 src/box/lua/upgrade.lua                       | 276 +++++++++++-
 src/lua/table.lua                             |  26 ++
 test/app-tap/table.test.lua                   |  31 +-
 test/xlog/gh-5894-pre-1.7.7-upgrade.result    | 400 ++++++++++++++++++
 test/xlog/gh-5894-pre-1.7.7-upgrade.test.lua  |  77 ++++
 .../1.6.8/gh-5894-pre-1.7.7-upgrade/fill.lua  |   1 +
 .../1.7.1/gh-5894-pre-1.7.7-upgrade/fill.lua  |   1 +
 .../1.7.2/gh-5894-pre-1.7.7-upgrade/fill.lua  |   1 +
 .../1.7.5/gh-5894-pre-1.7.7-upgrade/fill.lua  |   1 +
 test/xlog/upgrade/fill.lua                    |   4 +
 11 files changed, 829 insertions(+), 3 deletions(-)
 create mode 100644 test/xlog/gh-5894-pre-1.7.7-upgrade.result
 create mode 100644 test/xlog/gh-5894-pre-1.7.7-upgrade.test.lua
 create mode 120000 test/xlog/upgrade/1.6.8/gh-5894-pre-1.7.7-upgrade/fill.lua
 create mode 120000 test/xlog/upgrade/1.7.1/gh-5894-pre-1.7.7-upgrade/fill.lua
 create mode 120000 test/xlog/upgrade/1.7.2/gh-5894-pre-1.7.7-upgrade/fill.lua
 create mode 120000 test/xlog/upgrade/1.7.5/gh-5894-pre-1.7.7-upgrade/fill.lua

-- 
2.30.1 (Apple Git-130)



More information about the Tarantool-patches mailing list