Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
psergee opened this issue Aug 29, 2023 · 2 comments · Fixed by #381
Closed

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

psergee opened this issue Aug 29, 2023 · 2 comments · Fixed by #381
Assignees
Labels
1sp bug Something isn't working teamE

Comments

@psergee
Copy link
Contributor

psergee commented Aug 29, 2023

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
@psergee psergee added bug Something isn't working teamE labels Aug 29, 2023
@Totktonada
Copy link
Member

See tarantool/tarantool#8289.

@DifferentialOrange
Copy link
Member

It is likely will be covered by #366

@oleg-jukovec oleg-jukovec self-assigned this Sep 18, 2023
oleg-jukovec added a commit that referenced this issue Sep 18, 2023
We need use `box.info.replication.uuid` instead of
`box.info.cluster.uuid` to support Tarantool 3.0 [1].

1. tarantool/tarantool#8289

Part of #366
Closes #371
oleg-jukovec added a commit that referenced this issue Oct 5, 2023
We need use `box.info.replication.uuid` instead of
`box.info.cluster.uuid` to support Tarantool 3.0 [1].

1. tarantool/tarantool#8289

Part of #366
Closes #371
oleg-jukovec added a commit that referenced this issue Oct 5, 2023
We need use `box.info.replication.uuid` instead of
`box.info.cluster.uuid` to support Tarantool 3.0 [1].

1. tarantool/tarantool#8289

Part of #366
Closes #371
DifferentialOrange pushed a commit that referenced this issue Oct 9, 2023
We need use `box.info.replication.uuid` instead of
`box.info.cluster.uuid` to support Tarantool 3.0 [1].

1. tarantool/tarantool#8289

Part of #366
Closes #371
@LeonidVas LeonidVas added the 1sp label Oct 11, 2023
DifferentialOrange added a commit that referenced this issue Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
DifferentialOrange added a commit that referenced this issue Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).
  * Compatibility with Tarantool 3.0 tuple objects (#387).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
DifferentialOrange added a commit that referenced this issue Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).
  * Compatibility with Tarantool 3.0 tuple objects (#387).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1sp bug Something isn't working teamE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants