box: auto upgrade to 1.7.5
We added _truncate space to 1.7.5 and we are going to add new system spaces for storing sequences and triggers. Without upgrade, the corresponding operations won't work. Since 1.7.5 is a minor upgrade, users may not call box.schema.upgrade(), so we need to call it for them automatically. This patch introduces infrastructure for automatic upgrades and sets upgrade to 1.7.5 to be called automatically. While we are at it, rename schema version 1.7.4 to 1.7.5 (1.7.4 has already been released). Closes #2517
Showing
- src/box/bootstrap.snap 0 additions, 0 deletionssrc/box/bootstrap.snap
- src/box/lua/load_cfg.lua 1 addition, 0 deletionssrc/box/lua/load_cfg.lua
- src/box/lua/upgrade.lua 56 additions, 41 deletionssrc/box/lua/upgrade.lua
- test/box-py/bootstrap.result 1 addition, 1 deletiontest/box-py/bootstrap.result
- test/box/stat.result 3 additions, 3 deletionstest/box/stat.result
- test/vinyl/suite.cfg 1 addition, 1 deletiontest/vinyl/suite.cfg
- test/vinyl/upgrade/1.7.4-126/00000000000000000000.vylog 0 additions, 0 deletionstest/vinyl/upgrade/1.7.4-126/00000000000000000000.vylog
- test/vinyl/upgrade/1.7.4-126/00000000000000000012.snap 0 additions, 0 deletionstest/vinyl/upgrade/1.7.4-126/00000000000000000012.snap
- test/vinyl/upgrade/1.7.4-126/00000000000000000012.vylog 0 additions, 0 deletionstest/vinyl/upgrade/1.7.4-126/00000000000000000012.vylog
- test/vinyl/upgrade/1.7.4-126/00000000000000000012.xlog 0 additions, 0 deletionstest/vinyl/upgrade/1.7.4-126/00000000000000000012.xlog
- test/vinyl/upgrade/1.7.4-126/version 0 additions, 1 deletiontest/vinyl/upgrade/1.7.4-126/version
- test/vinyl/upgrade/1.7.5/00000000000000000000.vylog 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/00000000000000000000.vylog
- test/vinyl/upgrade/1.7.5/00000000000000000012.snap 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/00000000000000000012.snap
- test/vinyl/upgrade/1.7.5/00000000000000000012.vylog 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/00000000000000000012.vylog
- test/vinyl/upgrade/1.7.5/00000000000000000012.xlog 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/00000000000000000012.xlog
- test/vinyl/upgrade/1.7.5/513/0/00000000000000000011.index 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/513/0/00000000000000000011.index
- test/vinyl/upgrade/1.7.5/513/0/00000000000000000011.run 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/513/0/00000000000000000011.run
- test/vinyl/upgrade/1.7.5/513/0/00000000000000000015.index 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/513/0/00000000000000000015.index
- test/vinyl/upgrade/1.7.5/513/0/00000000000000000015.run 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/513/0/00000000000000000015.run
- test/vinyl/upgrade/1.7.5/513/1/00000000000000000017.index 0 additions, 0 deletionstest/vinyl/upgrade/1.7.5/513/1/00000000000000000017.index
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File deleted
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File deleted
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
test/vinyl/upgrade/1.7.4-126/version
deleted
100644 → 0
File added
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File added
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
Please register or sign in to comment