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

remove limiter from walkShards #7043

Merged
merged 1 commit into from
Jul 21, 2016
Merged

Conversation

corylanou
Copy link
Contributor

@corylanou corylanou commented Jul 21, 2016

Fixes artificially limiting walkShards. Bug was introduced in #7015. We are always IO bound in these operations so we should let the scheduler do the work for us.

In effect what was happening is we were limiting in walkShards the number of concurrent drop shards we could operate on based on the CPU count. On my local machine, with 224 local shards in a database, it was taking over 16 seconds to drop a database. With the limiting removed, I am back down to 1s.

  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated

@mention-bot
Copy link

@corylanou, thanks for your PR! By analyzing the annotation information on this pull request, we identified @e-dard to be a potential reviewer

@corylanou corylanou force-pushed the cjl-walkshards-remove-limiter branch from d89712f to fd86670 Compare July 21, 2016 16:23
@jwilder
Copy link
Contributor

jwilder commented Jul 21, 2016

👍

1 similar comment
@e-dard
Copy link
Contributor

e-dard commented Jul 21, 2016

👍

@corylanou corylanou merged commit e3ecbf0 into master Jul 21, 2016
@corylanou corylanou deleted the cjl-walkshards-remove-limiter branch July 21, 2016 16:31
@timhallinflux timhallinflux added this to the 1.0.0 milestone Dec 20, 2016
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.

5 participants