[SERVER-561] replica pair support in mongorestore Created: 20/Jan/10  Updated: 12/Jul/16  Resolved: 27/Jan/10

Status: Closed
Project: Core Server
Component/s: Tools, Usability
Affects Version/s: 1.3.1
Fix Version/s: 1.3.2

Type: Improvement Priority: Minor - P4
Reporter: Ask Bjørn Hansen Assignee: Mathias Stearn
Resolution: Done Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

This might be a documentation "bug" rather than a software bug:

When using mongorestore against the "slave side" of a replica pair, mongorestore happily works away but the server is full of "exception userassert:not master" errors and no data is loaded. I couldn't figure out a way to tell mongorestore about both sides of the replica pair so it'd "do the right thing".



 Comments   
Comment by Mathias Stearn [ 27/Jan/10 ]

All tools support repl-pairs with --host left,right.

Comment by auto [ 27/Jan/10 ]

Author:

{'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: tools: add repl pair syntax to --help SERVER-561
http://github.com/mongodb/mongo/commit/7302f4ac0010b2456cbb3a6c65b83e52a009d2e4

Comment by Eliot Horowitz (Inactive) [ 20/Jan/10 ]

It probably makes sense to allow you to give it a pair and have it write to the master

Generated at Thu Feb 08 02:54:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.