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

add do_not_shard_destination option #866

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nimatrueway
Copy link

@nimatrueway nimatrueway commented Mar 16, 2024

Firstly thanks a lot for the useful tool you built and shared with the world 🙏

We had a use case where we intended to move a 300GB sharded collection hosted on Mongo Atlas to another regular non-sharded replicaset. Due to the fact that the collection on each shard accidentally had different UUIDs (strange technical quirk of MongoDB) reducing shard number to 0 and then moving it was not possible.

We leveraged MongoShake to move all our data. We slightly modified the source code with this flag to skip over the step where the tool shards the destination database/collection to match the configuration of the source.

I thought other people may find it useful too.

@CLAassistant
Copy link

CLAassistant commented Mar 16, 2024

CLA assistant check
All committers have signed the CLA.

@nimatrueway nimatrueway force-pushed the develop branch 2 times, most recently from eac886f to cbf1886 Compare March 16, 2024 05:42
@nimatrueway nimatrueway changed the title add ignore sharding option add do_not_shard_destination option Mar 16, 2024
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.

3 participants