10gen / mongo-orchestration

Apache License 2.0
7 stars 11 forks source link

Add POST /replica_sets/<rs_id> for ReplicaSet commands. #87

Closed llvtt closed 10 years ago

llvtt commented 10 years ago

This addresses #63

Changes:

Example of awaiting replication after applying these changes:

curl -XPOST http://localhost:8889/v1/replica_sets/myLaggyRepl -d'{"action": "await_replication"}'
behackett commented 10 years ago

What are we trying to support with this change? Whatever it is, inserting a random document into a hard coded collection seems like the wrong solution.

gjmurakami-10gen commented 10 years ago

We need this to add awaitReplication so that the replica set is ready for other ops like stepdown.

llvtt commented 10 years ago

Updated:

gjmurakami-10gen commented 10 years ago

LGTM - as long as it merges cleanly with PR #91