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

Joins, 2i queries and bucket types #1831

Closed
martinsumner opened this issue May 24, 2022 · 1 comment
Closed

Joins, 2i queries and bucket types #1831

martinsumner opened this issue May 24, 2022 · 1 comment

Comments

@martinsumner
Copy link
Contributor

The testing of 2i during cluster change operations was improved via this PR. https://github.com/basho/riak_test/pull/1354/files

However, this test now fails intermittently at this point - https://github.com/basho/riak_test/blob/develop-3.0/tests/verify_2i_handoff.erl#L118

The cause of the failure is a worker crash, for a runner running the 2i query on a particular vnode. When attempting to apply the coverage filter, it needs to chash the key .. but the key is in a typed bucket, and presumably the information about that typed bucket has not yet propagated after the join. so the bucket properties is {error, no_type} not a list of properties, and attempting to find the key function in the bucket properties fails https://github.com/basho/riak_test/blob/develop-3.0/tests/verify_2i_handoff.erl#L118.

So this looks like this has always been an issue, you cannot reliably run 2i queries during joins (although potentially only impacting typed buckets).

@martinsumner
Copy link
Contributor Author

As this is an old issue surfaced through a new test, and there is no obvious quick fix, it will not be resolved as part of 3.0.10.

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