From bd77d23f611255fa42ffef6fbdaf19b8fc8fedee Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Wed, 17 Jun 2015 23:51:32 -0400 Subject: [PATCH] Updated the readme to show the new replSetInitiate command exposed. --- README.md | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 03a0d6e..018dc34 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,46 @@ Usage <!-- optional, default false, if true it launches in parallel all imports --> + <replSetInitiate> + <_id>rs0</_id> + <version>1</version> + <members> + <member> + <_id>0</_id> + <host>localhost:27017</host> + <arbiterOnly>true</arbiterOnly> + <buildIndexes>false</buildIndexes> + <hidden>false</hidden> + <priority>1</priority> + <slaveDelay>20</slaveDelay> + <votes>3</votes> + <tags> + <myTagKey>myTagValue</myTagKey> + <differentTagKey>someOtherValue</differentTagKey> + <tags> + </member> + </members> + <settings> + <chainingAllowed>true</chainingAllowed> + <heartbeatTimeoutSecs>30</heartbeatTimeoutSecs> + <getLastErrorModes> + <getLastErrorMode> + <writeConcern>ACKNOWLEDGED</writeConcern> + </getLastErrorMode> + <getLastErrorMode> + <writeConcern>eastCoast</writeConcern> + <tags> + <east>1</east> + </tags> + </getLastErrorMode> + </getLastErrorModes> + </settings> + </replSetInitiate> + <!-- optional, sends a replSetInitiate command to the server once + it comes up. The names of the tags as well as which tags are + allowed are the same as those for the MongoDB command itself + please see the MongoDB reference for more information --> + <imports> <import> <database>my_db</database> @@ -150,7 +190,8 @@ Usage </initialization> </initializations> <!-- optional, Specifies a collection of initialization scripts - to be run across various databases in the MongoDB instance --> + to be run across various databases in the MongoDB instance, + WARNING: initializations are deprecated, avoid using them.--> </configuration> </execution> <execution> -- GitLab