Skip to content

RUBY-909 Add #parallel_scan back onto Collection::View #619

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

Merged
merged 1 commit into from
May 18, 2015

Conversation

estolfo
Copy link
Contributor

@estolfo estolfo commented May 15, 2015

No description provided.

@estolfo estolfo force-pushed the RUBY-909-parallel-scan branch from 3f9a14b to 5bff7c1 Compare May 15, 2015 13:39
@estolfo estolfo force-pushed the RUBY-909-parallel-scan branch from 5bff7c1 to b6c2038 Compare May 18, 2015 09:16
estolfo added a commit that referenced this pull request May 18, 2015
RUBY-909 Add #parallel_scan back onto Collection::View
@estolfo estolfo merged commit 10ef3f6 into mongodb:master May 18, 2015
@estolfo estolfo deleted the RUBY-909-parallel-scan branch June 22, 2015 15:03
@linjer
Copy link

linjer commented Aug 7, 2015

I'm trying this out and it looks like the filter that produces the view isn't properly respected. E.g.,

mongo[:users].find(firstName: 'Jerry').parallel_scan(8).each do |cursor|
  cursor.each do |u|
    u[:firstName] # This shows firstName of ALL users (i.e. no filter applied)
  end
end

@linjer
Copy link

linjer commented Aug 10, 2015

Followup: This was raised in the mongodb-ruby-driver JIRA here and has been resolved by being moved to Collection.

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

Successfully merging this pull request may close these issues.

2 participants