Skip to content

Disable balancer while indexes are inconsistent #1766

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

Closed
wants to merge 6 commits into from
Closed

Disable balancer while indexes are inconsistent #1766

wants to merge 6 commits into from

Conversation

achille
Copy link
Contributor

@achille achille commented May 8, 2014

A chunk migration can cause an index build, so we should advise to disable the balancer to avoid performance issues.

Boomtime and others added 6 commits May 8, 2014 15:11
cursor.sort() contains a warning about the 32MB limit on non-indexed sorting, this adds the same warning to $orderby - which is the underlying operator that powers sort().
The warning is largely a copy+paste with superficial name replacements.

Signed-off-by: kay <[email protected]>
A chunk migration can cause an index build, so we should advise to disable the balancer to avoid performance issues.
:term:`shard`. Also ensure the balancer has been disabled for all
collections on which you'll be creating an new index. This will prevent
an automatic index build as chunks are migrated. The balancer should be
enabled after the indexes have been updated on all shards.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

putting this fact here is pretty awkward, because the tutorial isn't about sharded clusters, and so this fact might be weird for users in a sharded cluster. Perhaps we can put this fact somewhere else and then cross reference it here?

@tychoish
Copy link
Contributor

tychoish commented May 9, 2014

It looks like this pull request/branch is in a weird state. Could you rebase to make it seem a bit more coherent.

@tychoish
Copy link
Contributor

tychoish commented May 9, 2014

Feel free to open this as a DOCS ticket and we can figure out the best place for this bit of information if you like.

@tychoish
Copy link
Contributor

tychoish commented May 9, 2014

note: backport to 2.4

@mpaik
Copy link
Contributor

mpaik commented Mar 17, 2015

Bulk closing stale pull requests.

@mpaik mpaik closed this Mar 17, 2015
mongo-cr-bot pushed a commit that referenced this pull request Sep 2, 2022
* DOCS-15590-refineshardkey-updates

* DOCS-15590-refineshardkey-updates

* DOCS-15590-refineshardkey-updates

Co-authored-by: jason-price-mongodb <[email protected]>

Co-authored-by: jason-price-mongodb <[email protected]>
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.

6 participants