Closed
Description
When scaling cluster horizontally and adding new replicasets -- they do not have migrations applied.
This means, for example, if a box.schema.func
has been created in a migrations, the new replicaset won't have it.
Steps to reproduce:
- Create a Tarantool Cartridge cluster
- Run migration
return {
up = function()
box.schema.func.create('is_expired_code', {body = [[
function(args, tuple)
-- уточнить условия экспирации
return false
end
]]})
return true
end
}
- Add a new replicaset to the cluster
- Wait for it to start and be running
- Check
box.space._func.index.name:get('is_expired_code')
on the new replicaset to see if it has the functionis_expired_code