SC
Size: a a a
SC
SC
DS
AP
app.server1:
advertise_uri: localhost:3301
http_port: 8081
app.server2:
advertise_uri: localhost:3302
http_port: 8082
rtridge.cfg({мой cartridge.cfg:
-- cartridge options example
workdir = '/var/lib/tarantool/app',
advertise_uri = 'localhost:3301',
cluster_cookie = 'super-cluster-cookie',
...
}, {
-- box options example
memtx_memory = 1000000000,
...
})
ridge.cfg({что получил ошибку.
roles = {
'cartridge.roles.metrics',
'app.roles.custom_role1.app',
'app.roles.custom_role2.app'
},
cluster_cookie = 'reward-link-cluster-cookie',
{
replication = {'instance1:3301', 'instance2:3302'},
}
})
На
DS
DS
DS
AP
for name, func in pairs(exported_functions) do
box.schema.func.create(name, {if_not_exists = true})
box.schema.role.grant('public', 'execute', 'function', name, {if_not_exists = true})
rawset(_G, name, func)
end
DS
AP
DS
AP
if opts.is_master then
init_spaces()
for name in pairs(exported_functions) do
box.schema.func.create(name, {if_not_exists = true})
box.schema.role.grant('public', 'execute', 'function', name, {if_not_exists = true})
end
end
for name, func in pairs(exported_functions) do
rawset(_G, name, func)
end
DS
NR
MA
require 'digest'
MA
v
МК