[SERVER-29231] Why was MongoDB not designed to have master-master replication ? Created: 16/May/17  Updated: 17/May/17  Resolved: 17/May/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.5 Desired
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Wahb Ben Ishak Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-2956 Master-Master replication Closed
Participants:

 Description   

And why still we not have this feature ?
Is there really any reason that using the current replication model can be better than master-master ? like performance wise or something ?

There is module that can sync data from MongoDB to MonogDB or even to any other DB like Elasticsearch ... etc

https://github.com/mongodb-labs/mongo-connector

Is it possible to use it to create Multi-Master Replicated MongoDB ? is it good approach?



 Comments   
Comment by stone [X] [ 17/May/17 ]

@Wahb Ben Ishak an interesting suggestions.
actually, don't think master-master perform better than master-slave.
but it indeed easy to scale out.

my point about this is that mongo have provided too much functions to support all DB requirement.and lose its core design brief.this cause messes when using mongo db.it want to provide RDBMS function,also provide high availbility,scale out.

today mongo provide replica set deployment to meet normal data storage.and sharding cluster for large data storage.it is easy to convert replica set architect to sharding cluster deployment.but from application side,it is not easy to keep same query operation efficiency.

and other things like Data engine.mongo provide MMap,WireTiger,also other third party data engine.which also cause application developer to optimize the performance.

Comment by Ramon Fernandez Marina [ 17/May/17 ]

Thanks for your report benishak. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server, so I'm going to close this ticket.

Master-master replication has been a requested feature for quite a while (SERVER-2956), and while it's still on the roadmap there are no specific plans for it yet. Feel free to vote for SERVER-2956 and watch it for any updates.

If you're familiar with MongoDB internals and have some ideas/suggestions on how to approach the implementation of this feature I'd encourage you to start the discussion in the mongodb-dev user group, which is for developers of MongoDB.

Regards,
Ramón.

Comment by Wahb Ben Ishak [ 16/May/17 ]

this feature will kill other NoSQL like Cassandra

Generated at Thu Feb 08 04:20:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.