Rewrite --init-storage: dump a compiled-in blob in it
Rewrite --init-storage to dump a compiled-in blob instead of firing off the entire save snapshot machinery. This should simplify bootstrap in presence of system spaces: there's going to be no need to implement the code which creates system, they will be created simply by recovery from a snapshot.
Showing
- cmake/utils.cmake 16 additions, 0 deletionscmake/utils.cmake
- extra/CMakeLists.txt 1 addition, 0 deletionsextra/CMakeLists.txt
- extra/bin2c.c 73 additions, 0 deletionsextra/bin2c.c
- include/box/box.h 1 addition, 7 deletionsinclude/box/box.h
- include/recovery.h 1 addition, 4 deletionsinclude/recovery.h
- src/CMakeLists.txt 3 additions, 0 deletionssrc/CMakeLists.txt
- src/bootstrap.snap 0 additions, 0 deletionssrc/bootstrap.snap
- src/box/box.cc 3 additions, 8 deletionssrc/box/box.cc
- src/box/key_def.h 8 additions, 0 deletionssrc/box/key_def.h
- src/recovery.cc 2 additions, 4 deletionssrc/recovery.cc
- src/replication.cc 1 addition, 1 deletionsrc/replication.cc
- src/tarantool.cc 22 additions, 18 deletionssrc/tarantool.cc
- test/box/args.result 0 additions, 2 deletionstest/box/args.result
Loading
Please register or sign in to comment