[SERVER-1461] master -> slave replication with auth db._adminCommand({serverStatus:1,repl:2}); returns MasterFirst/Last jan 1 1970 and huge lag sec Created: 22/Jul/10 Updated: 12/Jul/16 Resolved: 16/Aug/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 1.4.4 |
| Fix Version/s: | 1.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Byron Albert | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
cent os 5.3 |
||
| Attachments: |
|
| Operating System: | Linux |
| Participants: |
| Description |
|
When I setup replication between a master and slave where they are both using auth and run ); "repl" : { , To create the issue i start by setting up a master with the following config
then log into the admin database locally create an admin user, then auth and switch to the local database and create the repl user. Then start a slave with the following config
Login and create the local repl user. Import some data on the master then run ); Logs are attached |
| Comments |
| Comment by auto [ 16/Aug/10 ] |
|
Author: {'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}Message: |