Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/differentialorange/tarantool-ee-live-migrations
Playground for testing out Tarantool EE online DDL migrations
https://github.com/differentialorange/tarantool-ee-live-migrations
Last synced: 1 day ago
JSON representation
Playground for testing out Tarantool EE online DDL migrations
- Host: GitHub
- URL: https://github.com/differentialorange/tarantool-ee-live-migrations
- Owner: DifferentialOrange
- Created: 2024-02-26T07:56:04.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-02-27T07:41:32.000Z (9 months ago)
- Last Synced: 2024-02-28T09:31:24.908Z (9 months ago)
- Language: Lua
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tarantool EE Live Migrations
Playground for testing out Tarantool EE online DDL migrations.
Toolchain:
```
Tarantool Enterprise 3.0.0-0-gf58f7d82a-r23-gc64
Target: Linux-x86_64-RelWithDebInfo
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/home/centos/release/sdk/tarantool/static-build/tarantool-prefix -DENABLE_BACKTRACE=TRUE
Compiler: GNU-9.3.1
C_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -static-libstdc++ -fno-common -msse2 -fmacro-prefix-map=/home/centos/release/sdk/tarantool=. -std=c11 -Wall -Wextra -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2
CXX_FLAGS: -fexceptions -funwind-tables -fasynchronous-unwind-tables -static-libstdc++ -fno-common -msse2 -fmacro-prefix-map=/home/centos/release/sdk/tarantool=. -std=c++11 -Wall -Wextra -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2
```Startup:
```bash
tt run --name storage-a-001 --config tarantool.yaml
```Run migration (with post-run cleanup):
```bash
tt run migrations/__.lua
```
Use a separate ternimal to execute code on the `storage-a-001` server.
The numbers are just means to structure the code, they do not bear any meaning
like in tarantool/migrations.If something went wrong:
- stop the server,
- `rm -rf ./var/lib/storage-a-001/*`,
- start the server anew.