> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
I can see how you want something like master/slave where the slave can
be master as well; I assume that is what you used in your old setup.
It was not a common configuration and I don't know if it was ever a
supported configuration; you can do something similar by using an
external sync'r like the open source tools provided by wordnik:
https://github.com/wordnik/wordnik-oss
What you describe will not happen in that example configuration.
Maybe it is best if you read up more on sharding and replicasets:
http://www.mongodb.org/display/DOCS/Replica+Sets
http://www.mongodb.org/display/DOCS/Sharding
Why not?
> server layer, not in the mongo processes. We need the way to access
> and modify the database locally, and therefore we accept the fact,
What does local mean? Is it the datacenter or the (local) machine?
> that the changes propagated to the other servers slowly, only a couple
> of seconds later.
> So from the 'Replica Sets' description:
> * Drivers can automatically detect when a replica set primary changes
> and will begin sending writes to the new primary.
> * Automated fail-over
> - for us, this were be a problem : if we cant access the local
> server, it is better the declare, that this app server is out of
> order, notify the loadbalancer, etc..., instead of working slowly
Are you saying that writes to the other app-servers/machines are slow
in the same datacenter? Is the latency and bandwidth on the
interconnects in your datacenter so poor that you cannot go over the
wire to write? At that point you have already come in from a
load-balancer to get to the app server, no? Wouldn't that have the
same issue?
> * Distribute read load
> - we need distributed writes too. Of course this will cause giving
> up some of the consistencies guaranteed by the replica set.
That is what sharding is for in the suggested configuration, write
distribution. Replicasets have a single primary (master) which can
write; that is by design.
> So, as there isn't any solution for our requirements, as I believe,
> should I open a ticket for this regression ? Do you think it is
> feasible to expect that this feature is restored some later release ?
You are welcome to file a jira issue for a feature request, but I'm
not sure how high a priority it will get (esp. if nobody votes for
it); it only meets a very small set of needs -- without much better
support for multi-master replication with conflict detection and such
I don't see it as very useful, or on the majority path of features.
http://jira.mongodb.org/
As I said, you can use an external sync tool. Since you don't want the
automatic failover of replicasets that is not much of a problem.
I would suggest filing a jira feature request if you want more than that.