luarocks --local --lua-version 5.1 --only-server https://moonlibs.github.io/rocks install id Да, можно прописать rocks_servers в $HOME/.luarocks/config-5.1.lua
Парни, а если про сборке cartridge pack docker мне надо доставить модуль metrics например, где мне это прописать? как-то сходу не понял. или понял не так
https://www.tarantool.io/en/doc/2.2/reference/reference_lua/box_space/#lua-function.space_object.upsert 1. However, unlike insert or update, upsert will not read a tuple and perform error checks before returning – this is a design feature which enhances throughput but requires more caution on the part of the user. 2. It is illegal to use upsert with a space that has a unique secondary index. 1 и 2 взаимосвязанно?
https://www.tarantool.io/en/doc/2.2/reference/reference_lua/box_space/#lua-function.space_object.upsert 1. However, unlike insert or update, upsert will not read a tuple and perform error checks before returning – this is a design feature which enhances throughput but requires more caution on the part of the user. 2. It is illegal to use upsert with a space that has a unique secondary index. 1 и 2 взаимосвязанно?
в пустом спейсе 4 поля, первое и второе - составной ключ, делаем апсерт четвертого поля, повторяем еще раз, четвертое поле пустое, до тех пор пока не обновим третье поле это с чего вдруг? box.space.some_space:upsert({1, 2}, {'=', 4, 'abc'})