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

Database sharding support for incremental sync #861

Open
sayedppqq opened this issue Feb 26, 2024 · 0 comments
Open

Database sharding support for incremental sync #861

sayedppqq opened this issue Feb 26, 2024 · 0 comments

Comments

@sayedppqq
Copy link

sayedppqq commented Feb 26, 2024

What I tried

  • Stop balancer through Mongos of Source MongoDB
  • Enable shard for a specific collection through Mongos
  • Insert some data to that collection while running incremental sync

What I expected
In target MongoDB, those collection also stored according to sharded partition of source MongoDB

But every document synced from the source MongoDB is storing to the default primary shard for that collection in target MongoDB

May be the config server also needs to sync for this purpose. Is this support available till now in Mongo shake ?

Source MongoDB sharding status ---> https://gist.github.com/sayedppqq/2ac4544057a07002b0ba431ac67f28da
Target MongoDB sharding status -----> https://gist.github.com/sayedppqq/da41e37f666716d75026a59888da7beb

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