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

Automigrate fail: Index primary is non-iteratable #10

Open
d9k opened this issue Feb 18, 2019 · 0 comments
Open

Automigrate fail: Index primary is non-iteratable #10

d9k opened this issue Feb 18, 2019 · 0 comments

Comments

@d9k
Copy link

d9k commented Feb 18, 2019

Can't migrate space with it's modified declaration:

 box.spacer.automigrate = true
 box.spacer:space(space_declaration)

In moonwalker.lua, inside moonwalker(opts):

	local index      = opts.index or space.index[0]
	local keyfields  = create_keyfields(index)
	if index.type ~= "TREE" then
		error("Index "..index.name.." in space "..space.name.." is non-iteratable",2)
	end

But my space has "HASH" primary index, not "TREE".
So I get an error "Index primary in space <my_space_name> is non-iteratable"

@d9k d9k changed the title Automigrate fail Automigrate fail: Index primary is non-iteratable Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant