tarantool / crud

Easy assess to data stored in vshard cluster
BSD 2-Clause "Simplified" License
40 stars 15 forks source link

doc/playground.lua does not start under tarantool 3.0 #371

Closed psergee closed 11 months ago

psergee commented 1 year ago

2.11.0:

$ tarantool ./doc/playground.lua
"tuple.keydef" module is not found. Built-in "key_def" is used
"tuple.merger" module is not found. Built-in "merger" is used
2023-08-29 10:10:23.087 [532325] main/103/playground.lua I> Tarantool 2.11.0-0-g247a9a4 Linux-x86_64-Debug
2023-08-29 10:10:23.087 [532325] main/103/playground.lua I> log level 5
2023-08-29 10:10:23.087 [532325] main/103/playground.lua I> wal/engine cleanup is paused
2023-08-29 10:10:23.087 [532325] main/103/playground.lua I> mapping 268435456 bytes for memtx tuple arena...
2023-08-29 10:10:23.087 [532325] main/103/playground.lua I> Actual slab_alloc_factor calculated on the basis of desired slab_alloc_factor = 1.044274
2023-08-29 10:10:23.087 [532325] main/103/playground.lua I> mapping 134217728 bytes for vinyl tuple arena...
2023-08-29 10:10:23.099 [532325] main/103/playground.lua I> update replication_synchro_quorum = 1
2023-08-29 10:10:23.100 [532325] main/103/playground.lua I> instance uuid 5b3ac0e7-8869-48a2-805f-40a0ed01113e
2023-08-29 10:10:23.101 [532325] main/103/playground.lua I> initializing an empty data directory
2023-08-29 10:10:23.139 [532325] main/103/playground.lua I> assigned id 1 to replica 5b3ac0e7-8869-48a2-805f-40a0ed01113e
2023-08-29 10:10:23.139 [532325] main/103/playground.lua I> update replication_synchro_quorum = 1
2023-08-29 10:10:23.139 [532325] main/103/playground.lua I> cluster uuid 9c316cb5-b8d9-4a78-9e39-e76616cbbec5
2023-08-29 10:10:23.142 [532325] snapshot/101/main I> saving snapshot `/tmp/yGkdSw/00000000000000000000.snap.inprogress'
2023-08-29 10:10:23.151 [532325] snapshot/101/main I> done
2023-08-29 10:10:23.151 [532325] main/103/playground.lua I> ready to accept requests
2023-08-29 10:10:23.151 [532325] main/104/gc I> wal/engine cleanup is resumed
2023-08-29 10:10:23.152 [532325] main/105/checkpoint_daemon I> scheduled next checkpoint for Tue Aug 29 11:45:55 2023
2023-08-29 10:10:23.153 [532325] main/103/playground.lua/vshard.storage I> Starting configuration of replica 5b3ac0e7-8869-48a2-805f-40a0ed01113e
2023-08-29 10:10:23.153 [532325] main/103/playground.lua/vshard.storage I> I am master
2023-08-29 10:10:23.153 [532325] main/103/playground.lua/vshard.storage I> Taking on replicaset master role...
2023-08-29 10:10:23.153 [532325] main/103/playground.lua I> tx_binary: bound to 127.0.0.1:3301

3.0.0-alpha2:

$ tarantool ./doc/playground.lua
"tuple.keydef" module is not found. Built-in "key_def" is used
"tuple.merger" module is not found. Built-in "merger" is used
2023-08-29 10:02:17.350 [506312] main/103/playground.lua I> Tarantool 3.0.0-alpha2-24-g4916389a3 Linux-x86_64-RelWithDebInfo
2023-08-29 10:02:17.350 [506312] main/103/playground.lua I> log level 5 (INFO)
2023-08-29 10:02:17.350 [506312] main/103/playground.lua I> wal/engine cleanup is paused
2023-08-29 10:02:17.350 [506312] main/103/playground.lua I> mapping 268435456 bytes for memtx tuple arena...
2023-08-29 10:02:17.350 [506312] main/103/playground.lua I> Actual slab_alloc_factor calculated on the basis of desired slab_alloc_factor = 1.044274
2023-08-29 10:02:17.350 [506312] main/103/playground.lua I> mapping 134217728 bytes for vinyl tuple arena...
2023-08-29 10:02:17.351 [506312] main/103/playground.lua I> update replication_synchro_quorum = 1
2023-08-29 10:02:17.352 [506312] main/103/playground.lua I> instance uuid eb59159e-468e-40df-8493-b35be192afdd
2023-08-29 10:02:17.352 [506312] main/103/playground.lua I> initializing an empty data directory
2023-08-29 10:02:17.366 [506312] main/103/playground.lua I> assigned id 1 to replica eb59159e-468e-40df-8493-b35be192afdd
2023-08-29 10:02:17.366 [506312] main/103/playground.lua I> update replication_synchro_quorum = 1
2023-08-29 10:02:17.366 [506312] main/103/playground.lua I> replicaset uuid 95d09973-5427-42e7-ba07-b3e462855ff5
2023-08-29 10:02:17.366 [506312] snapshot/101/main I> saving snapshot `/tmp/EkzFLf/00000000000000000000.snap.inprogress'
2023-08-29 10:02:17.374 [506312] snapshot/101/main I> done
2023-08-29 10:02:17.374 [506312] main/103/playground.lua I> ready to accept requests
2023-08-29 10:02:17.374 [506312] main/104/gc I> wal/engine cleanup is resumed
2023-08-29 10:02:17.375 [506312] main/105/checkpoint_daemon I> scheduled next checkpoint for Tue Aug 29 11:57:09 2023
2023-08-29 10:02:17.375 [506312] main utils.c:678 E> LuajitError: ./doc/playground.lua:54: table index is nil
2023-08-29 10:02:17.375 [506312] main F> fatal error, exiting the event loop
Totktonada commented 1 year ago

See https://github.com/tarantool/tarantool/pull/8289.

DifferentialOrange commented 1 year ago

It is likely will be covered by https://github.com/tarantool/crud/issues/366